Metamath Proof Explorer


Theorem mercolem7

Description: Used to rederive the Tarski-Bernays-Wajsberg axioms from merco2 . (Contributed by Anthony Hart, 16-Aug-2011) (Proof modification is discouraged.) (New usage is discouraged.)

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

Proof

Step Hyp Ref Expression
1 merco2 ( ( ( 𝜑𝜑 ) → ( ( ⊥ → 𝜑 ) → 𝜑 ) ) → ( ( 𝜑𝜑 ) → ( 𝜑 → ( 𝜑𝜑 ) ) ) )
2 mercolem3 ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( ( 𝜑𝜒 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) ) )
3 mercolem6 ( ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( ( 𝜑𝜒 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) ) ) → ( ( 𝜑𝜒 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) ) )
4 2 3 ax-mp ( ( 𝜑𝜒 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) )
5 mercolem5 ( 𝜑 → ( ( 𝜑𝜓 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) ) )
6 mercolem4 ( ( 𝜑 → ( ( 𝜑𝜓 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) ) ) → ( ( ( 𝜑𝜒 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) ) → ( ( ( ( 𝜑𝜑 ) → ( ( ⊥ → 𝜑 ) → 𝜑 ) ) → ( ( 𝜑𝜑 ) → ( 𝜑 → ( 𝜑𝜑 ) ) ) ) → ( ( 𝜑𝜓 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) ) ) ) )
7 5 6 ax-mp ( ( ( 𝜑𝜒 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) ) → ( ( ( ( 𝜑𝜑 ) → ( ( ⊥ → 𝜑 ) → 𝜑 ) ) → ( ( 𝜑𝜑 ) → ( 𝜑 → ( 𝜑𝜑 ) ) ) ) → ( ( 𝜑𝜓 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) ) ) )
8 4 7 ax-mp ( ( ( ( 𝜑𝜑 ) → ( ( ⊥ → 𝜑 ) → 𝜑 ) ) → ( ( 𝜑𝜑 ) → ( 𝜑 → ( 𝜑𝜑 ) ) ) ) → ( ( 𝜑𝜓 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) ) )
9 1 8 ax-mp ( ( 𝜑𝜓 ) → ( ( ( 𝜑𝜒 ) → ( 𝜃𝜓 ) ) → ( 𝜃𝜓 ) ) )