Metamath Proof Explorer


Theorem sylcom

Description: Syllogism inference with commutation of antecedents. (Contributed by NM, 29-Aug-2004) (Proof shortened by Mel L. O'Cat, 2-Feb-2006) (Proof shortened by Stefan Allan, 23-Feb-2006)

Ref Expression
Hypotheses sylcom.1 ( 𝜑 → ( 𝜓𝜒 ) )
sylcom.2 ( 𝜓 → ( 𝜒𝜃 ) )
Assertion sylcom ( 𝜑 → ( 𝜓𝜃 ) )

Proof

Step Hyp Ref Expression
1 sylcom.1 ( 𝜑 → ( 𝜓𝜒 ) )
2 sylcom.2 ( 𝜓 → ( 𝜒𝜃 ) )
3 2 a2i ( ( 𝜓𝜒 ) → ( 𝜓𝜃 ) )
4 1 3 syl ( 𝜑 → ( 𝜓𝜃 ) )