Metamath Proof Explorer


Theorem dffun7

Description: Alternate definition of a function. One possibility for the definition of a function in Enderton p. 42. (Enderton's definition is ambiguous because "there is only one" could mean either "there is at most one" or "there is exactly one". However, dffun8 shows that it does not matter which meaning we pick.) (Contributed by NM, 4-Nov-2002)

Ref Expression
Assertion dffun7 FunARelAxdomA*yxAy

Proof

Step Hyp Ref Expression
1 dffun6 FunARelAx*yxAy
2 moabs *yxAyyxAy*yxAy
3 vex xV
4 3 eldm xdomAyxAy
5 4 imbi1i xdomA*yxAyyxAy*yxAy
6 2 5 bitr4i *yxAyxdomA*yxAy
7 6 albii x*yxAyxxdomA*yxAy
8 df-ral xdomA*yxAyxxdomA*yxAy
9 7 8 bitr4i x*yxAyxdomA*yxAy
10 9 anbi2i RelAx*yxAyRelAxdomA*yxAy
11 1 10 bitri FunARelAxdomA*yxAy