Metamath Proof Explorer


Theorem xpima2

Description: Direct image by a Cartesian product (case of nonempty intersection with the domain). (Contributed by Thierry Arnoux, 16-Dec-2017)

Ref Expression
Assertion xpima2
|- ( ( A i^i C ) =/= (/) -> ( ( A X. B ) " C ) = B )

Proof

Step Hyp Ref Expression
1 xpima
 |-  ( ( A X. B ) " C ) = if ( ( A i^i C ) = (/) , (/) , B )
2 ifnefalse
 |-  ( ( A i^i C ) =/= (/) -> if ( ( A i^i C ) = (/) , (/) , B ) = B )
3 1 2 eqtrid
 |-  ( ( A i^i C ) =/= (/) -> ( ( A X. B ) " C ) = B )