This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.

Metamath Proof Explorer


Theorem preq2d

Description: Equality deduction for unordered pairs. (Contributed by NM, 19-Oct-2012)

Ref Expression
Hypothesis preq1d.1 ( 𝜑𝐴 = 𝐵 )
Assertion preq2d ( 𝜑 → { 𝐶 , 𝐴 } = { 𝐶 , 𝐵 } )

Proof

Step Hyp Ref Expression
1 preq1d.1 ( 𝜑𝐴 = 𝐵 )
2 preq2 ( 𝐴 = 𝐵 → { 𝐶 , 𝐴 } = { 𝐶 , 𝐵 } )
3 1 2 syl ( 𝜑 → { 𝐶 , 𝐴 } = { 𝐶 , 𝐵 } )