Metamath Proof Explorer


Theorem funop

Description: An ordered pair is a function iff it is a singleton of an ordered pair. (Contributed by AV, 20-Sep-2020) A function is a class of ordered pairs, so the fact that an ordered pair may sometimes be itself a function is an "accident" depending on the specific encoding of ordered pairs as classes (in set.mm, the Kuratowski encoding). A more meaningful statement is funsng , as relsnopg is to relop . (New usage is discouraged.)

Ref Expression
Hypotheses funopsn.x XV
funopsn.y YV
Assertion funop FunXYaX=aXY=aa

Proof

Step Hyp Ref Expression
1 funopsn.x XV
2 funopsn.y YV
3 eqid XY=XY
4 1 2 funopsn FunXYXY=XYaX=aXY=aa
5 3 4 mpan2 FunXYaX=aXY=aa
6 vex aV
7 6 6 funsn Funaa
8 funeq XY=aaFunXYFunaa
9 7 8 mpbiri XY=aaFunXY
10 9 adantl X=aXY=aaFunXY
11 10 exlimiv aX=aXY=aaFunXY
12 5 11 impbii FunXYaX=aXY=aa