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

Theorem fnsnb 6930
Description: A function whose domain is a singleton can be represented as a singleton of an ordered pair. (Contributed by Jonathan Ben-Naim, 3-Jun-2011.) Revised to add reverse implication. (Revised by NM, 29-Dec-2018.)
Hypothesis
Ref Expression
fnsnb.1 𝐴 ∈ V
Assertion
Ref Expression
fnsnb (𝐹 Fn {𝐴} ↔ 𝐹 = {⟨𝐴, (𝐹𝐴)⟩})

Proof of Theorem fnsnb
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 fnsnr 6929 . . . . 5 (𝐹 Fn {𝐴} → (𝑥𝐹𝑥 = ⟨𝐴, (𝐹𝐴)⟩))
2 df-fn 6360 . . . . . . . 8 (𝐹 Fn {𝐴} ↔ (Fun 𝐹 ∧ dom 𝐹 = {𝐴}))
3 fnsnb.1 . . . . . . . . . . 11 𝐴 ∈ V
43snid 4603 . . . . . . . . . 10 𝐴 ∈ {𝐴}
5 eleq2 2903 . . . . . . . . . 10 (dom 𝐹 = {𝐴} → (𝐴 ∈ dom 𝐹𝐴 ∈ {𝐴}))
64, 5mpbiri 260 . . . . . . . . 9 (dom 𝐹 = {𝐴} → 𝐴 ∈ dom 𝐹)
76anim2i 618 . . . . . . . 8 ((Fun 𝐹 ∧ dom 𝐹 = {𝐴}) → (Fun 𝐹𝐴 ∈ dom 𝐹))
82, 7sylbi 219 . . . . . . 7 (𝐹 Fn {𝐴} → (Fun 𝐹𝐴 ∈ dom 𝐹))
9 funfvop 6822 . . . . . . 7 ((Fun 𝐹𝐴 ∈ dom 𝐹) → ⟨𝐴, (𝐹𝐴)⟩ ∈ 𝐹)
108, 9syl 17 . . . . . 6 (𝐹 Fn {𝐴} → ⟨𝐴, (𝐹𝐴)⟩ ∈ 𝐹)
11 eleq1 2902 . . . . . 6 (𝑥 = ⟨𝐴, (𝐹𝐴)⟩ → (𝑥𝐹 ↔ ⟨𝐴, (𝐹𝐴)⟩ ∈ 𝐹))
1210, 11syl5ibrcom 249 . . . . 5 (𝐹 Fn {𝐴} → (𝑥 = ⟨𝐴, (𝐹𝐴)⟩ → 𝑥𝐹))
131, 12impbid 214 . . . 4 (𝐹 Fn {𝐴} → (𝑥𝐹𝑥 = ⟨𝐴, (𝐹𝐴)⟩))
14 velsn 4585 . . . 4 (𝑥 ∈ {⟨𝐴, (𝐹𝐴)⟩} ↔ 𝑥 = ⟨𝐴, (𝐹𝐴)⟩)
1513, 14syl6bbr 291 . . 3 (𝐹 Fn {𝐴} → (𝑥𝐹𝑥 ∈ {⟨𝐴, (𝐹𝐴)⟩}))
1615eqrdv 2821 . 2 (𝐹 Fn {𝐴} → 𝐹 = {⟨𝐴, (𝐹𝐴)⟩})
17 fvex 6685 . . . 4 (𝐹𝐴) ∈ V
183, 17fnsn 6414 . . 3 {⟨𝐴, (𝐹𝐴)⟩} Fn {𝐴}
19 fneq1 6446 . . 3 (𝐹 = {⟨𝐴, (𝐹𝐴)⟩} → (𝐹 Fn {𝐴} ↔ {⟨𝐴, (𝐹𝐴)⟩} Fn {𝐴}))
2018, 19mpbiri 260 . 2 (𝐹 = {⟨𝐴, (𝐹𝐴)⟩} → 𝐹 Fn {𝐴})
2116, 20impbii 211 1 (𝐹 Fn {𝐴} ↔ 𝐹 = {⟨𝐴, (𝐹𝐴)⟩})
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398   = wceq 1537  wcel 2114  Vcvv 3496  {csn 4569  cop 4575  dom cdm 5557  Fun wfun 6351   Fn wfn 6352  cfv 6357
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365
This theorem is referenced by:  fnprb  6973
  Copyright terms: Public domain W3C validator