Metamath Proof Explorer


Theorem dedt

Description: The weak deduction theorem. For more information, see the Weak Deduction Theorem page mmdeduction.html . (Contributed by NM, 26-Jun-2002) Revised to use the conditional operator. (Revised by BJ, 30-Sep-2019) Commute consequent. (Revised by Steven Nguyen, 27-Apr-2023)

Ref Expression
Hypotheses dedt.1 ⊢ if- χ φ ψ ↔ φ → τ ↔ θ
dedt.2 ⊢ τ
Assertion dedt ⊢ χ → θ

Proof

Step Hyp Ref Expression
1 dedt.1 ⊢ if- χ φ ψ ↔ φ → τ ↔ θ
2 dedt.2 ⊢ τ
3 ifptru ⊢ χ → if- χ φ ψ ↔ φ
4 2 1 mpbii ⊢ if- χ φ ψ ↔ φ → θ
5 3 4 syl ⊢ χ → θ