Metamath Proof Explorer


Theorem fnsnr

Description: If a class belongs to a function on a singleton, then that class is the obvious ordered pair. Note that this theorem also holds when A is a proper class, but its meaning is then different. (Contributed by Jonathan Ben-Naim, 3-Jun-2011) (Proof shortened by Mario Carneiro, 22-Dec-2016)

Ref Expression
Assertion fnsnr FFnABFB=AFA

Proof

Step Hyp Ref Expression
1 fnresdm FFnAFA=F
2 fnfun FFnAFunF
3 funressn FunFFAAFA
4 2 3 syl FFnAFAAFA
5 1 4 eqsstrrd FFnAFAFA
6 5 sseld FFnABFBAFA
7 elsni BAFAB=AFA
8 6 7 syl6 FFnABFB=AFA