HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem consensusOLD 845
Description: The consensus theorem. This theorem and its dual (with \/ and /\ interchanged) are commonly used in computer logic design to eliminate redundant terms from Boolean expressions. Specifically, we prove that the term (ps /\ ch) on the left-hand side is redundant.
Assertion
Ref Expression
consensusOLD |- ((((ph /\ ps) \/ (-. ph /\ ch)) \/ (ps /\ ch)) <-> ((ph /\ ps) \/ (-. ph /\ ch)))

Proof of Theorem consensusOLD
StepHypRef Expression
1 id 73 . . 3 |- (((ph /\ ps) \/ (-. ph /\ ch)) -> ((ph /\ ps) \/ (-. ph /\ ch)))
2 dedlema 837 . . . . . . 7 |- (ph -> (ps <-> ((ps /\ ph) \/ (ch /\ -. ph))))
32biimpd 170 . . . . . 6 |- (ph -> (ps -> ((ps /\ ph) \/ (ch /\ -. ph))))
43adantrd 427 . . . . 5 |- (ph -> ((ps /\ ch) -> ((ps /\ ph) \/ (ch /\ -. ph))))
5 dedlemb 839 . . . . . . 7 |- (-. ph -> (ch <-> ((ps /\ ph) \/ (ch /\ -. ph))))
65biimpd 170 . . . . . 6 |- (-. ph -> (ch -> ((ps /\ ph) \/ (ch /\ -. ph))))
76adantld 426 . . . . 5 |- (-. ph -> ((ps /\ ch) -> ((ps /\ ph) \/ (ch /\ -. ph))))
84, 7pm2.61i 140 . . . 4 |- ((ps /\ ch) -> ((ps /\ ph) \/ (ch /\ -. ph)))
9 ancom 482 . . . . 5 |- ((ps /\ ph) <-> (ph /\ ps))
10 ancom 482 . . . . 5 |- ((ch /\ -. ph) <-> (-. ph /\ ch))
119, 10orbi12i 277 . . . 4 |- (((ps /\ ph) \/ (ch /\ -. ph)) <-> ((ph /\ ps) \/ (-. ph /\ ch)))
128, 11sylib 215 . . 3 |- ((ps /\ ch) -> ((ph /\ ps) \/ (-. ph /\ ch)))
131, 12jaoi 368 . 2 |- ((((ph /\ ps) \/ (-. ph /\ ch)) \/ (ps /\ ch)) -> ((ph /\ ps) \/ (-. ph /\ ch)))
14 orc 291 . 2 |- (((ph /\ ps) \/ (-. ph /\ ch)) -> (((ph /\ ps) \/ (-. ph /\ ch)) \/ (ps /\ ch)))
1513, 14impbii 174 1 |- ((((ph /\ ps) \/ (-. ph /\ ch)) \/ (ps /\ ch)) <-> ((ph /\ ps) \/ (-. ph /\ ch)))
Colors of variables: wff set class
Syntax hints:  -. wn 2   -> wi 3   <-> wb 163   \/ wo 239   /\ wa 240
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7
This theorem depends on definitions:  df-bi 164  df-or 241  df-an 242
Copyright terms: Public domain