Metamath Proof Explorer


Theorem bj-df-ifc

Description: Candidate definition for the conditional operator for classes. This is in line with the definition of a class as the extension of a predicate in df-clab . We reprove the current df-if from it in bj-dfif . (Contributed by BJ, 20-Sep-2019) (Proof modification is discouraged.)

Ref Expression
Assertion bj-df-ifc ifφAB=x|if-φxAxB

Proof

Step Hyp Ref Expression
1 df-if ifφAB=x|xAφxB¬φ
2 ancom xAφφxA
3 ancom xB¬φ¬φxB
4 2 3 orbi12i xAφxB¬φφxA¬φxB
5 df-ifp if-φxAxBφxA¬φxB
6 4 5 bitr4i xAφxB¬φif-φxAxB
7 6 abbii x|xAφxB¬φ=x|if-φxAxB
8 1 7 eqtri ifφAB=x|if-φxAxB