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

Theorem fnsnb 6959
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 6958 . . . . 5 (𝐹 Fn {𝐴} → (𝑥𝐹𝑥 = ⟨𝐴, (𝐹𝐴)⟩))
2 df-fn 6361 . . . . . . . 8 (𝐹 Fn {𝐴} ↔ (Fun 𝐹 ∧ dom 𝐹 = {𝐴}))
3 fnsnb.1 . . . . . . . . . . 11 𝐴 ∈ V
43snid 4563 . . . . . . . . . 10 𝐴 ∈ {𝐴}
5 eleq2 2819 . . . . . . . . . 10 (dom 𝐹 = {𝐴} → (𝐴 ∈ dom 𝐹𝐴 ∈ {𝐴}))
64, 5mpbiri 261 . . . . . . . . 9 (dom 𝐹 = {𝐴} → 𝐴 ∈ dom 𝐹)
76anim2i 620 . . . . . . . 8 ((Fun 𝐹 ∧ dom 𝐹 = {𝐴}) → (Fun 𝐹𝐴 ∈ dom 𝐹))
82, 7sylbi 220 . . . . . . 7 (𝐹 Fn {𝐴} → (Fun 𝐹𝐴 ∈ dom 𝐹))
9 funfvop 6848 . . . . . . 7 ((Fun 𝐹𝐴 ∈ dom 𝐹) → ⟨𝐴, (𝐹𝐴)⟩ ∈ 𝐹)
108, 9syl 17 . . . . . 6 (𝐹 Fn {𝐴} → ⟨𝐴, (𝐹𝐴)⟩ ∈ 𝐹)
11 eleq1 2818 . . . . . 6 (𝑥 = ⟨𝐴, (𝐹𝐴)⟩ → (𝑥𝐹 ↔ ⟨𝐴, (𝐹𝐴)⟩ ∈ 𝐹))
1210, 11syl5ibrcom 250 . . . . 5 (𝐹 Fn {𝐴} → (𝑥 = ⟨𝐴, (𝐹𝐴)⟩ → 𝑥𝐹))
131, 12impbid 215 . . . 4 (𝐹 Fn {𝐴} → (𝑥𝐹𝑥 = ⟨𝐴, (𝐹𝐴)⟩))
14 velsn 4543 . . . 4 (𝑥 ∈ {⟨𝐴, (𝐹𝐴)⟩} ↔ 𝑥 = ⟨𝐴, (𝐹𝐴)⟩)
1513, 14bitr4di 292 . . 3 (𝐹 Fn {𝐴} → (𝑥𝐹𝑥 ∈ {⟨𝐴, (𝐹𝐴)⟩}))
1615eqrdv 2734 . 2 (𝐹 Fn {𝐴} → 𝐹 = {⟨𝐴, (𝐹𝐴)⟩})
17 fvex 6708 . . . 4 (𝐹𝐴) ∈ V
183, 17fnsn 6416 . . 3 {⟨𝐴, (𝐹𝐴)⟩} Fn {𝐴}
19 fneq1 6448 . . 3 (𝐹 = {⟨𝐴, (𝐹𝐴)⟩} → (𝐹 Fn {𝐴} ↔ {⟨𝐴, (𝐹𝐴)⟩} Fn {𝐴}))
2018, 19mpbiri 261 . 2 (𝐹 = {⟨𝐴, (𝐹𝐴)⟩} → 𝐹 Fn {𝐴})
2116, 20impbii 212 1 (𝐹 Fn {𝐴} ↔ 𝐹 = {⟨𝐴, (𝐹𝐴)⟩})
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399   = wceq 1543  wcel 2112  Vcvv 3398  {csn 4527  cop 4533  dom cdm 5536  Fun wfun 6352   Fn wfn 6353  cfv 6358
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ral 3056  df-rex 3057  df-reu 3058  df-rab 3060  df-v 3400  df-sbc 3684  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-br 5040  df-opab 5102  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6316  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366
This theorem is referenced by:  fnprb  7002
  Copyright terms: Public domain W3C validator