Metamath Proof Explorer


Theorem imbi12

Description: Closed form of imbi12i . Was automatically derived from its "Virtual Deduction" version and the Metamath program "MM-PA> MINIMIZE__WITH *" command. (Contributed by Alan Sare, 18-Mar-2012)

Ref Expression
Assertion imbi12 ( ( 𝜑𝜓 ) → ( ( 𝜒𝜃 ) → ( ( 𝜑𝜒 ) ↔ ( 𝜓𝜃 ) ) ) )

Proof

Step Hyp Ref Expression
1 simplim ( ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜒𝜃 ) ) → ( 𝜑𝜓 ) )
2 simprim ( ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜒𝜃 ) ) → ( 𝜒𝜃 ) )
3 1 2 imbi12d ( ¬ ( ( 𝜑𝜓 ) → ¬ ( 𝜒𝜃 ) ) → ( ( 𝜑𝜒 ) ↔ ( 𝜓𝜃 ) ) )
4 3 expi ( ( 𝜑𝜓 ) → ( ( 𝜒𝜃 ) → ( ( 𝜑𝜒 ) ↔ ( 𝜓𝜃 ) ) ) )