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

Theorem fnsnbg 7193
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 7192 . . . . . . 7 (𝐹 Fn {𝐴} → (𝑥 ∈ 𝐹 → 𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩))
21adantl 487 . . . . . 6 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 → 𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩))
3 fnfun 6661 . . . . . . . 8 (𝐹 Fn {𝐴} → Fun 𝐹)
4 snidg 4621 . . . . . . . . . 10 (𝐴 ∈ 𝑉 → 𝐴 ∈ {𝐴})
54adantr 486 . . . . . . . . 9 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ {𝐴})
6 fndm 6664 . . . . . . . . . 10 (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴})
76adantl 487 . . . . . . . . 9 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → dom 𝐹 = {𝐴})
85, 7eleqtrrd 2867 . . . . . . . 8 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐴 ∈ dom 𝐹)
9 funfvop 7072 . . . . . . . 8 ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → ⟨𝐴, (𝐹‘𝐴)⟩ ∈ 𝐹)
103, 8, 9syl2an2 699 . . . . . . 7 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → ⟨𝐴, (𝐹‘𝐴)⟩ ∈ 𝐹)
11 eleq1 2852 . . . . . . 7 (𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩ → (𝑥 ∈ 𝐹 ↔ ⟨𝐴, (𝐹‘𝐴)⟩ ∈ 𝐹))
1210, 11syl5ibrcom 250 . . . . . 6 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩ → 𝑥 ∈ 𝐹))
132, 12impbid 215 . . . . 5 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 ↔ 𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩))
14 velsn 4600 . . . . 5 (𝑥 ∈ {⟨𝐴, (𝐹‘𝐴)⟩} ↔ 𝑥 = ⟨𝐴, (𝐹‘𝐴)⟩)
1513, 14bitr4di 292 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → (𝑥 ∈ 𝐹 ↔ 𝑥 ∈ {⟨𝐴, (𝐹‘𝐴)⟩}))
1615eqrdv 2761 . . 3 ((𝐴 ∈ 𝑉 ∧ 𝐹 Fn {𝐴}) → 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩})
1716ex 418 . 2 (𝐴 ∈ 𝑉 → (𝐹 Fn {𝐴} → 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))
18 fvex 6921 . . . 4 (𝐹‘𝐴) ∈ V
19 fnsng 6614 . . . 4 ((𝐴 ∈ 𝑉 ∧ (𝐹‘𝐴) ∈ V) → {⟨𝐴, (𝐹‘𝐴)⟩} Fn {𝐴})
2018, 19mpan2 704 . . 3 (𝐴 ∈ 𝑉 → {⟨𝐴, (𝐹‘𝐴)⟩} Fn {𝐴})
21 fneq1 6652 . . 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 2147  Vcvv 3454  {csn 4588  ⟨cop 4838  dom cdm 5655  Fun wfun 6552   Fn wfn 6553  ‘cfv 6558
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566
This theorem is used by:  fnsnb  7194  frlmsnic  43797  termcnatval  50878
  Copyright terms: Public domain W3C validator