Metamath Proof Explorer


Theorem wl-cases2-dnf

Description: A particular instance of orddi and anddi converting between disjunctive and conjunctive normal forms, when both ph and -. ph appear. This theorem in fact rephrases cases2 , and is related to consensus . I restate it here in DNF and CNF. The proof deliberately does not use df-ifp and dfifp4 , by which it can be shortened. (Contributed by Wolf Lammen, 21-Jun-2020) (Proof modification is discouraged.)

Ref Expression
Assertion wl-cases2-dnf φψ¬φχ¬φψφχ

Proof

Step Hyp Ref Expression
1 exmid φ¬φ
2 1 biantrur φχφ¬φφχ
3 orcom ¬φψψ¬φ
4 orcom χψψχ
5 3 4 anbi12i ¬φψχψψ¬φψχ
6 2 5 anbi12i φχ¬φψχψφ¬φφχψ¬φψχ
7 anass φχ¬φψχψφχ¬φψχψ
8 orddi φψ¬φχφ¬φφχψ¬φψχ
9 6 7 8 3bitr4ri φψ¬φχφχ¬φψχψ
10 wl-orel12 φχ¬φψχψ
11 10 pm4.71i φχ¬φψφχ¬φψχψ
12 ancom φχ¬φψ¬φψφχ
13 9 11 12 3bitr2i φψ¬φχ¬φψφχ