Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mofsn Structured version   Visualization version   GIF version

Theorem mofsn 49681
Description: There is at most one function into a singleton, with fewer axioms than eufsn 49679 and eufsn2 49680. See also mofsn2 49682. (Contributed by Zhi Wang, 19-Sep-2024.)
Assertion
Ref Expression
mofsn (𝐵𝑉 → ∃*𝑓 𝑓:𝐴⟶{𝐵})
Distinct variable groups:   𝐴,𝑓   𝐵,𝑓   𝑓,𝑉

Proof of Theorem mofsn
Dummy variable 𝑔 is distinct from all other variables.
StepHypRef Expression
1 fconst2g 7208 . . . . 5 (𝐵𝑉 → (𝑓:𝐴⟶{𝐵} ↔ 𝑓 = (𝐴 × {𝐵})))
21biimpd 232 . . . 4 (𝐵𝑉 → (𝑓:𝐴⟶{𝐵} → 𝑓 = (𝐴 × {𝐵})))
3 fconst2g 7208 . . . . 5 (𝐵𝑉 → (𝑔:𝐴⟶{𝐵} ↔ 𝑔 = (𝐴 × {𝐵})))
43biimpd 232 . . . 4 (𝐵𝑉 → (𝑔:𝐴⟶{𝐵} → 𝑔 = (𝐴 × {𝐵})))
5 eqtr3 2787 . . . . 5 ((𝑓 = (𝐴 × {𝐵}) ∧ 𝑔 = (𝐴 × {𝐵})) → 𝑓 = 𝑔)
65a1i 11 . . . 4 (𝐵𝑉 → ((𝑓 = (𝐴 × {𝐵}) ∧ 𝑔 = (𝐴 × {𝐵})) → 𝑓 = 𝑔))
72, 4, 6syl2and 620 . . 3 (𝐵𝑉 → ((𝑓:𝐴⟶{𝐵} ∧ 𝑔:𝐴⟶{𝐵}) → 𝑓 = 𝑔))
87alrimivv 1961 . 2 (𝐵𝑉 → ∀𝑓𝑔((𝑓:𝐴⟶{𝐵} ∧ 𝑔:𝐴⟶{𝐵}) → 𝑓 = 𝑔))
9 feq1 6687 . . 3 (𝑓 = 𝑔 → (𝑓:𝐴⟶{𝐵} ↔ 𝑔:𝐴⟶{𝐵}))
109mo4 2596 . 2 (∃*𝑓 𝑓:𝐴⟶{𝐵} ↔ ∀𝑓𝑔((𝑓:𝐴⟶{𝐵} ∧ 𝑔:𝐴⟶{𝐵}) → 𝑓 = 𝑔))
118, 10sylibr 237 1 (𝐵𝑉 → ∃*𝑓 𝑓:𝐴⟶{𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wa 401  wal 1568   = wceq 1570  wcel 2146  ∃*wmo 2567  {csn 4591   × cxp 5661  wf 6536
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 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-sep 5259  ax-nul 5271  ax-pr 5406
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 2100  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-ral 3082  df-rex 3092  df-rab 3419  df-v 3459  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4287  df-if 4490  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4875  df-br 5112  df-opab 5176  df-mpt 5195  df-id 5558  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-iota 6496  df-fun 6542  df-fn 6543  df-f 6544  df-fv 6548
This theorem is used by:  mofsn2  49682
  Copyright terms: Public domain W3C validator