Metamath Proof Explorer


Theorem eqcoms

Description: Inference applying commutative law for class equality to an antecedent. (Contributed by NM, 24-Jun-1993)

Ref Expression
Hypothesis eqcoms.1 ( 𝐴 = 𝐵𝜑 )
Assertion eqcoms ( 𝐵 = 𝐴𝜑 )

Proof

Step Hyp Ref Expression
1 eqcoms.1 ( 𝐴 = 𝐵𝜑 )
2 eqcom ( 𝐵 = 𝐴𝐴 = 𝐵 )
3 2 1 sylbi ( 𝐵 = 𝐴𝜑 )