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

Theorem fnsnbg 7169
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 7168 . . . . . . 7 (𝐹 Fn {𝐴} → (𝑥 ∈ 𝐹 → 𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩))
21adantl 487 . . . . . 6 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 → 𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩))
3 fnfun 6639 . . . . . . . 8 (𝐹 Fn {𝐴} → Fun 𝐹)
4 snidg 4620 . . . . . . . . . 10 (𝐴 ∈ 𝑉 → 𝐴 ∈ {𝐴})
54adantr 486 . . . . . . . . 9 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ {𝐴})
6 fndm 6642 . . . . . . . . . 10 (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴})
76adantl 487 . . . . . . . . 9 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → dom 𝐹 = {𝐴})
85, 7eleqtrrd 2863 . . . . . . . 8 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ dom 𝐹)
9 funfvop 7049 . . . . . . . 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 6898 . . . 4 (𝐹‘𝐴) ∈ V
19 fnsng 6592 . . . 4 ((𝐴 ∈ 𝑉 ∧ (𝐹‘𝐴) ∈ V) → {⟨𝐴, (𝐹‘𝐴)⟩} Fn {𝐴})
2018, 19mpan2 704 . . 3 (𝐴 ∈ 𝑉 → {⟨𝐴, (𝐹‘𝐴)⟩} Fn {𝐴})
21 fneq1 6630 . . 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 1569   ∈ wcel 2144  Vcvv 3450  {csn 4583  ⟨cop 4589  dom cdm 5650  Fun wfun 6532   Fn wfn 6533  ‘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-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-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  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-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-fo 6544  df-f1o 6545  df-fv 6546
This theorem is used by:  fnsnb  7170  frlmsnic  43680  termcnatval  50719
  Copyright terms: Public domain W3C validator