Metamath Proof Explorer


Theorem keephyp

Description: Transform a hypothesis ps that we want to keep (but contains the same class variable A used in the eliminated hypothesis) for use with the weak deduction theorem. (Contributed by NM, 15-May-1999)

Ref Expression
Hypotheses keephyp.1 A=ifφABψθ
keephyp.2 B=ifφABχθ
keephyp.3 ψ
keephyp.4 χ
Assertion keephyp θ

Proof

Step Hyp Ref Expression
1 keephyp.1 A=ifφABψθ
2 keephyp.2 B=ifφABχθ
3 keephyp.3 ψ
4 keephyp.4 χ
5 1 2 ifboth ψχθ
6 3 4 5 mp2an θ