Metamath Proof Explorer


Theorem com3rgbi

Description: The following User's Proof is a Virtual Deduction proof completed automatically by the tools program completeusersproof.cmd, which invokes Mel L. O'Cat's mmj2 and Norm Megill's Metamath Proof Assistant. The completed Virtual Deduction Proof (not shown) was minimized. The minimized proof is shown. (Contributed by Alan Sare, 18-Mar-2012) (Proof modification is discouraged.) (New usage is discouraged.)

1:: |- ( ( ph -> ( ps -> ( ch -> th ) ) ) -> ( ph -> ( ch -> ( ps -> th ) ) ) )
2:: |- ( ( ph -> ( ch -> ( ps -> th ) ) ) -> ( ch -> ( ph -> ( ps -> th ) ) ) )
3:1,2: |- ( ( ph -> ( ps -> ( ch -> th ) ) ) -> ( ch -> ( ph -> ( ps -> th ) ) ) )
4:: |- ( ( ch -> ( ph -> ( ps -> th ) ) ) -> ( ph -> ( ch -> ( ps -> th ) ) ) )
5:: |- ( ( ph -> ( ch -> ( ps -> th ) ) ) -> ( ph -> ( ps -> ( ch -> th ) ) ) )
6:4,5: |- ( ( ch -> ( ph -> ( ps -> th ) ) ) -> ( ph -> ( ps -> ( ch -> th ) ) ) )
qed:3,6: |- ( ( ph -> ( ps -> ( ch -> th ) ) ) <-> ( ch -> ( ph -> ( ps -> th ) ) ) )

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

Proof

Step Hyp Ref Expression
1 pm2.04 ( ( 𝜑 → ( 𝜓 → ( 𝜒𝜃 ) ) ) → ( 𝜓 → ( 𝜑 → ( 𝜒𝜃 ) ) ) )
2 1 com24 ( ( 𝜑 → ( 𝜓 → ( 𝜒𝜃 ) ) ) → ( 𝜒 → ( 𝜑 → ( 𝜓𝜃 ) ) ) )
3 pm2.04 ( ( 𝜒 → ( 𝜑 → ( 𝜓𝜃 ) ) ) → ( 𝜑 → ( 𝜒 → ( 𝜓𝜃 ) ) ) )
4 3 com34 ( ( 𝜒 → ( 𝜑 → ( 𝜓𝜃 ) ) ) → ( 𝜑 → ( 𝜓 → ( 𝜒𝜃 ) ) ) )
5 2 4 impbii ( ( 𝜑 → ( 𝜓 → ( 𝜒𝜃 ) ) ) ↔ ( 𝜒 → ( 𝜑 → ( 𝜓𝜃 ) ) ) )