Metamath Proof Explorer


Theorem dedth2h

Description: Weak deduction theorem eliminating two hypotheses. This theorem is simpler to use than dedth2v but requires that each hypothesis have exactly one class variable. See also comments in dedth . (Contributed by NM, 15-May-1999)

Ref Expression
Hypotheses dedth2h.1 ( 𝐴 = if ( 𝜑 , 𝐴 , 𝐶 ) → ( 𝜒𝜃 ) )
dedth2h.2 ( 𝐵 = if ( 𝜓 , 𝐵 , 𝐷 ) → ( 𝜃𝜏 ) )
dedth2h.3 𝜏
Assertion dedth2h ( ( 𝜑𝜓 ) → 𝜒 )

Proof

Step Hyp Ref Expression
1 dedth2h.1 ( 𝐴 = if ( 𝜑 , 𝐴 , 𝐶 ) → ( 𝜒𝜃 ) )
2 dedth2h.2 ( 𝐵 = if ( 𝜓 , 𝐵 , 𝐷 ) → ( 𝜃𝜏 ) )
3 dedth2h.3 𝜏
4 1 imbi2d ( 𝐴 = if ( 𝜑 , 𝐴 , 𝐶 ) → ( ( 𝜓𝜒 ) ↔ ( 𝜓𝜃 ) ) )
5 2 3 dedth ( 𝜓𝜃 )
6 4 5 dedth ( 𝜑 → ( 𝜓𝜒 ) )
7 6 imp ( ( 𝜑𝜓 ) → 𝜒 )