Metamath Proof Explorer


Theorem ifpn

Description: Conditional operator for the negation of a proposition. (Contributed by BJ, 30-Sep-2019) (Proof shortened by Wolf Lammen, 5-May-2024)

Ref Expression
Assertion ifpn if-φψχif-¬φχψ

Proof

Step Hyp Ref Expression
1 ancom ¬φψ¬φχ¬φχ¬φψ
2 dfifp5 if-φψχ¬φψ¬φχ
3 dfifp3 if-¬φχψ¬φχ¬φψ
4 1 2 3 3bitr4i if-φψχif-¬φχψ