Metamath Proof Explorer


Theorem eqeqan12dALT

Description: Alternate proof of eqeqan12d . This proof has one more step but one fewer essential step. (Contributed by NM, 9-Aug-1994) (Proof shortened by Andrew Salmon, 25-May-2011) (Proof modification is discouraged.) (New usage is discouraged.)

Ref Expression
Hypotheses eqeqan12d.1 ( 𝜑𝐴 = 𝐵 )
eqeqan12d.2 ( 𝜓𝐶 = 𝐷 )
Assertion eqeqan12dALT ( ( 𝜑𝜓 ) → ( 𝐴 = 𝐶𝐵 = 𝐷 ) )

Proof

Step Hyp Ref Expression
1 eqeqan12d.1 ( 𝜑𝐴 = 𝐵 )
2 eqeqan12d.2 ( 𝜓𝐶 = 𝐷 )
3 eqeq12 ( ( 𝐴 = 𝐵𝐶 = 𝐷 ) → ( 𝐴 = 𝐶𝐵 = 𝐷 ) )
4 1 2 3 syl2an ( ( 𝜑𝜓 ) → ( 𝐴 = 𝐶𝐵 = 𝐷 ) )