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

Theorem funop 6577
 Description: An ordered pair is a function iff it is a singleton of an ordered pair. (Contributed by AV, 20-Sep-2020.)
Hypotheses
Ref Expression
funopsn.x 𝑋 ∈ V
funopsn.y 𝑌 ∈ V
Assertion
Ref Expression
funop (Fun ⟨𝑋, 𝑌⟩ ↔ ∃𝑎(𝑋 = {𝑎} ∧ ⟨𝑋, 𝑌⟩ = {⟨𝑎, 𝑎⟩}))
Distinct variable groups:   𝑋,𝑎   𝑌,𝑎

Proof of Theorem funop
StepHypRef Expression
1 eqid 2760 . . 3 𝑋, 𝑌⟩ = ⟨𝑋, 𝑌
2 funopsn.x . . . 4 𝑋 ∈ V
3 funopsn.y . . . 4 𝑌 ∈ V
42, 3funopsn 6576 . . 3 ((Fun ⟨𝑋, 𝑌⟩ ∧ ⟨𝑋, 𝑌⟩ = ⟨𝑋, 𝑌⟩) → ∃𝑎(𝑋 = {𝑎} ∧ ⟨𝑋, 𝑌⟩ = {⟨𝑎, 𝑎⟩}))
51, 4mpan2 709 . 2 (Fun ⟨𝑋, 𝑌⟩ → ∃𝑎(𝑋 = {𝑎} ∧ ⟨𝑋, 𝑌⟩ = {⟨𝑎, 𝑎⟩}))
6 vex 3343 . . . . . 6 𝑎 ∈ V
76, 6funsn 6100 . . . . 5 Fun {⟨𝑎, 𝑎⟩}
8 funeq 6069 . . . . 5 (⟨𝑋, 𝑌⟩ = {⟨𝑎, 𝑎⟩} → (Fun ⟨𝑋, 𝑌⟩ ↔ Fun {⟨𝑎, 𝑎⟩}))
97, 8mpbiri 248 . . . 4 (⟨𝑋, 𝑌⟩ = {⟨𝑎, 𝑎⟩} → Fun ⟨𝑋, 𝑌⟩)
109adantl 473 . . 3 ((𝑋 = {𝑎} ∧ ⟨𝑋, 𝑌⟩ = {⟨𝑎, 𝑎⟩}) → Fun ⟨𝑋, 𝑌⟩)
1110exlimiv 2007 . 2 (∃𝑎(𝑋 = {𝑎} ∧ ⟨𝑋, 𝑌⟩ = {⟨𝑎, 𝑎⟩}) → Fun ⟨𝑋, 𝑌⟩)
125, 11impbii 199 1 (Fun ⟨𝑋, 𝑌⟩ ↔ ∃𝑎(𝑋 = {𝑎} ∧ ⟨𝑋, 𝑌⟩ = {⟨𝑎, 𝑎⟩}))
 Colors of variables: wff setvar class Syntax hints:   ↔ wb 196   ∧ wa 383   = wceq 1632  ∃wex 1853   ∈ wcel 2139  Vcvv 3340  {csn 4321  ⟨cop 4327  Fun wfun 6043 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-sep 4933  ax-nul 4941  ax-pr 5055 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-fal 1638  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-reu 3057  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-id 5174  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057 This theorem is referenced by:  funopdmsn  6578  funsndifnop  6579
 Copyright terms: Public domain W3C validator