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

Theorem fnsnb 6432
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 fnresdm 6000 . . . . . . . 8 (𝐹 Fn {𝐴} → (𝐹 ↾ {𝐴}) = 𝐹)
2 fnfun 5988 . . . . . . . . 9 (𝐹 Fn {𝐴} → Fun 𝐹)
3 funressn 6426 . . . . . . . . 9 (Fun 𝐹 → (𝐹 ↾ {𝐴}) ⊆ {⟨𝐴, (𝐹𝐴)⟩})
42, 3syl 17 . . . . . . . 8 (𝐹 Fn {𝐴} → (𝐹 ↾ {𝐴}) ⊆ {⟨𝐴, (𝐹𝐴)⟩})
51, 4eqsstr3d 3640 . . . . . . 7 (𝐹 Fn {𝐴} → 𝐹 ⊆ {⟨𝐴, (𝐹𝐴)⟩})
65sseld 3602 . . . . . 6 (𝐹 Fn {𝐴} → (𝑥𝐹𝑥 ∈ {⟨𝐴, (𝐹𝐴)⟩}))
7 elsni 4194 . . . . . 6 (𝑥 ∈ {⟨𝐴, (𝐹𝐴)⟩} → 𝑥 = ⟨𝐴, (𝐹𝐴)⟩)
86, 7syl6 35 . . . . 5 (𝐹 Fn {𝐴} → (𝑥𝐹𝑥 = ⟨𝐴, (𝐹𝐴)⟩))
9 df-fn 5891 . . . . . . . 8 (𝐹 Fn {𝐴} ↔ (Fun 𝐹 ∧ dom 𝐹 = {𝐴}))
10 fnsnb.1 . . . . . . . . . . 11 𝐴 ∈ V
1110snid 4208 . . . . . . . . . 10 𝐴 ∈ {𝐴}
12 eleq2 2690 . . . . . . . . . 10 (dom 𝐹 = {𝐴} → (𝐴 ∈ dom 𝐹𝐴 ∈ {𝐴}))
1311, 12mpbiri 248 . . . . . . . . 9 (dom 𝐹 = {𝐴} → 𝐴 ∈ dom 𝐹)
1413anim2i 593 . . . . . . . 8 ((Fun 𝐹 ∧ dom 𝐹 = {𝐴}) → (Fun 𝐹𝐴 ∈ dom 𝐹))
159, 14sylbi 207 . . . . . . 7 (𝐹 Fn {𝐴} → (Fun 𝐹𝐴 ∈ dom 𝐹))
16 funfvop 6329 . . . . . . 7 ((Fun 𝐹𝐴 ∈ dom 𝐹) → ⟨𝐴, (𝐹𝐴)⟩ ∈ 𝐹)
1715, 16syl 17 . . . . . 6 (𝐹 Fn {𝐴} → ⟨𝐴, (𝐹𝐴)⟩ ∈ 𝐹)
18 eleq1 2689 . . . . . 6 (𝑥 = ⟨𝐴, (𝐹𝐴)⟩ → (𝑥𝐹 ↔ ⟨𝐴, (𝐹𝐴)⟩ ∈ 𝐹))
1917, 18syl5ibrcom 237 . . . . 5 (𝐹 Fn {𝐴} → (𝑥 = ⟨𝐴, (𝐹𝐴)⟩ → 𝑥𝐹))
208, 19impbid 202 . . . 4 (𝐹 Fn {𝐴} → (𝑥𝐹𝑥 = ⟨𝐴, (𝐹𝐴)⟩))
21 velsn 4193 . . . 4 (𝑥 ∈ {⟨𝐴, (𝐹𝐴)⟩} ↔ 𝑥 = ⟨𝐴, (𝐹𝐴)⟩)
2220, 21syl6bbr 278 . . 3 (𝐹 Fn {𝐴} → (𝑥𝐹𝑥 ∈ {⟨𝐴, (𝐹𝐴)⟩}))
2322eqrdv 2620 . 2 (𝐹 Fn {𝐴} → 𝐹 = {⟨𝐴, (𝐹𝐴)⟩})
24 fvex 6201 . . . 4 (𝐹𝐴) ∈ V
2510, 24fnsn 5946 . . 3 {⟨𝐴, (𝐹𝐴)⟩} Fn {𝐴}
26 fneq1 5979 . . 3 (𝐹 = {⟨𝐴, (𝐹𝐴)⟩} → (𝐹 Fn {𝐴} ↔ {⟨𝐴, (𝐹𝐴)⟩} Fn {𝐴}))
2725, 26mpbiri 248 . 2 (𝐹 = {⟨𝐴, (𝐹𝐴)⟩} → 𝐹 Fn {𝐴})
2823, 27impbii 199 1 (𝐹 Fn {𝐴} ↔ 𝐹 = {⟨𝐴, (𝐹𝐴)⟩})
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 384   = wceq 1483  wcel 1990  Vcvv 3200  wss 3574  {csn 4177  cop 4183  dom cdm 5114  cres 5116  Fun wfun 5882   Fn wfn 5883  cfv 5888
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896
This theorem is referenced by:  fnprb  6472
  Copyright terms: Public domain W3C validator