Metamath Proof Explorer


Theorem frege18

Description: Closed form of a syllogism followed by a swap of antecedents. Proposition 18 of Frege1879 p. 39. (Contributed by RP, 24-Dec-2019) (Proof modification is discouraged.)

Ref Expression
Assertion frege18 ( ( 𝜑 → ( 𝜓𝜒 ) ) → ( ( 𝜃𝜑 ) → ( 𝜓 → ( 𝜃𝜒 ) ) ) )

Proof

Step Hyp Ref Expression
1 frege5 ( ( 𝜑 → ( 𝜓𝜒 ) ) → ( ( 𝜃𝜑 ) → ( 𝜃 → ( 𝜓𝜒 ) ) ) )
2 frege16 ( ( ( 𝜑 → ( 𝜓𝜒 ) ) → ( ( 𝜃𝜑 ) → ( 𝜃 → ( 𝜓𝜒 ) ) ) ) → ( ( 𝜑 → ( 𝜓𝜒 ) ) → ( ( 𝜃𝜑 ) → ( 𝜓 → ( 𝜃𝜒 ) ) ) ) )
3 1 2 ax-mp ( ( 𝜑 → ( 𝜓𝜒 ) ) → ( ( 𝜃𝜑 ) → ( 𝜓 → ( 𝜃𝜒 ) ) ) )