MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fnsnbg Structured version   Visualization version   GIF version

Theorem fnsnbg 7157
Description: A function's domain is a singleton iff the function is a singleton. (Contributed by Steven Nguyen, 18-Aug-2023.) Relax condition for being in the universal class. (Revised by Zhi Wang, 21-Oct-2025.)
Assertion
Ref Expression
fnsnbg (𝐴 ∈ 𝑉 → (𝐹 Fn {𝐴} ↔ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))

Proof of Theorem fnsnbg
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 fnsnr 7156 . . . . . . 7 (𝐹 Fn {𝐴} → (𝑥 ∈ 𝐹 → 𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩))
21adantl 487 . . . . . 6 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 → 𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩))
3 fnfun 6627 . . . . . . . 8 (𝐹 Fn {𝐴} → Fun 𝐹)
4 snidg 4620 . . . . . . . . . 10 (𝐴 ∈ 𝑉 → 𝐴 ∈ {𝐴})
54adantr 486 . . . . . . . . 9 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ {𝐴})
6 fndm 6630 . . . . . . . . . 10 (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴})
76adantl 487 . . . . . . . . 9 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → dom 𝐹 = {𝐴})
85, 7eleqtrrd 2863 . . . . . . . 8 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ dom 𝐹)
9 funfvop 7037 . . . . . . . 8 ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → ⟨𝐴, (𝐹‘𝐴)⟩ ∈ 𝐹)
103, 8, 9syl2an2 699 . . . . . . 7 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → ⟨𝐴, (𝐹‘𝐴)⟩ ∈ 𝐹)
11 eleq1 2848 . . . . . . 7 (𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩ → (𝑥 ∈ 𝐹 ↔ ⟨𝐴, (𝐹‘𝐴)⟩ ∈ 𝐹))
1210, 11syl5ibrcom 250 . . . . . 6 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩ → 𝑥 ∈ 𝐹))
132, 12impbid 215 . . . . 5 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 ↔ 𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩))
14 velsn 4599 . . . . 5 (𝑥 ∈ {⟨𝐴, (𝐹‘𝐴)⟩} ↔ 𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩)
1513, 14bitr4di 292 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 ↔ 𝑥 ∈ {⟨𝐴, (𝐹‘𝐴)⟩}))
1615eqrdv 2758 . . 3 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩})
1716ex 418 . 2 (𝐴 ∈ 𝑉 → (𝐹 Fn {𝐴} → 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))
18 fvex 6886 . . . 4 (𝐹‘𝐴) ∈ V
19 fnsng 6580 . . . 4 ((𝐴 ∈ 𝑉 ∧ (𝐹‘𝐴) ∈ V) → {⟨𝐴, (𝐹‘𝐴)⟩} Fn {𝐴})
2018, 19mpan2 704 . . 3 (𝐴 ∈ 𝑉 → {⟨𝐴, (𝐹‘𝐴)⟩} Fn {𝐴})
21 fneq1 6618 . . 3 (𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩} → (𝐹 Fn {𝐴} ↔ {⟨𝐴, (𝐹‘𝐴)⟩} Fn {𝐴}))
2220, 21syl5ibrcom 250 . 2 (𝐴 ∈ 𝑉 → (𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩} → 𝐹 Fn {𝐴}))
2317, 22impbid 215 1 (𝐴 ∈ 𝑉 → (𝐹 Fn {𝐴} ↔ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3450  {csn 4583  ⟨cop 4589  dom cdm 5647  Fun wfun 6521   Fn wfn 6522  ‘cfv 6527
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 2147  ax-9 2155  ax-10 2178  ax-12 2213  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 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  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-id 5542  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-iota 6483  df-fun 6529  df-fn 6530  df-f 6531  df-f1 6532  df-fo 6533  df-f1o 6534  df-fv 6535
This theorem is used by:  fnsnb  7158  frlmsnic  43526  termcnatval  50565
  Copyright terms: Public domain W3C validator