Metamath Proof Explorer


Theorem bj-xpnzexb

Description: If the first factor of a product is a nonempty set, then the product is a set if and only if the second factor is a set. (Contributed by BJ, 2-Apr-2019)

Ref Expression
Assertion bj-xpnzexb A V B V A × B V

Proof

Step Hyp Ref Expression
1 bj-xpexg2 A V B V A × B V
2 eldifsni A V A
3 bj-xpnzex A A × B V B V
4 2 3 syl A V A × B V B V
5 1 4 impbid A V B V A × B V