Metamath Proof Explorer


Theorem ifpim4

Description: Restate implication as conditional logic operator. (Contributed by RP, 25-Apr-2020)

Ref Expression
Assertion ifpim4 ⊢ φ → ψ ↔ if- ψ ψ ¬ φ

Proof

Step Hyp Ref Expression
1 simpr ⊢ φ ∧ ψ → ψ
2 olc ⊢ ψ → φ ∨ ψ
3 ifpim23g ⊢ φ → ψ ↔ if- ψ ψ ¬ φ ↔ φ ∧ ψ → ψ ∧ ψ → φ ∨ ψ
4 1 2 3 mpbir2an ⊢ φ → ψ ↔ if- ψ ψ ¬ φ