Metamath Proof Explorer


Theorem clifte

Description: show d is the same as an if-else involving a,b. (Contributed by Jarvin Udandy, 20-Sep-2020)

Ref Expression
Hypotheses clifte.1 ⊢ φ ∧ ¬ χ
clifte.2 ⊢ θ
Assertion clifte ⊢ θ ↔ φ ∧ ¬ χ ∨ ψ ∧ χ

Proof

Step Hyp Ref Expression
1 clifte.1 ⊢ φ ∧ ¬ χ
2 clifte.2 ⊢ θ
3 1 orci ⊢ φ ∧ ¬ χ ∨ ψ ∧ χ
4 2 3 2th ⊢ θ ↔ φ ∧ ¬ χ ∨ ψ ∧ χ