Metamath Proof Explorer


Theorem bj-consensus

Description: Version of consensus expressed using the conditional operator. (Remark: it may be better to express it as consensus , using only binary connectives, and hinting at the fact that it is a Boolean algebra identity, like the absorption identities.) (Contributed by BJ, 30-Sep-2019)

Ref Expression
Assertion bj-consensus ⊢ if- φ ψ χ ∨ ψ ∧ χ ↔ if- φ ψ χ

Proof

Step Hyp Ref Expression
1 anifp ⊢ ψ ∧ χ → if- φ ψ χ
2 1 bj-jaoi2 ⊢ if- φ ψ χ ∨ ψ ∧ χ → if- φ ψ χ
3 orc ⊢ if- φ ψ χ → if- φ ψ χ ∨ ψ ∧ χ
4 2 3 impbii ⊢ if- φ ψ χ ∨ ψ ∧ χ ↔ if- φ ψ χ