Metamath Proof Explorer


Theorem dfmpt3

Description: Alternate definition for the maps-to notation df-mpt . (Contributed by Mario Carneiro, 30-Dec-2016)

Ref Expression
Assertion dfmpt3 xAB=xAx×B

Proof

Step Hyp Ref Expression
1 df-mpt xAB=xy|xAy=B
2 velsn yBy=B
3 2 anbi2i xAyBxAy=B
4 3 anbi2i z=xyxAyBz=xyxAy=B
5 4 2exbii xyz=xyxAyBxyz=xyxAy=B
6 eliunxp zxAx×Bxyz=xyxAyB
7 elopab zxy|xAy=Bxyz=xyxAy=B
8 5 6 7 3bitr4i zxAx×Bzxy|xAy=B
9 8 eqriv xAx×B=xy|xAy=B
10 1 9 eqtr4i xAB=xAx×B