Metamath Proof Explorer


Theorem pweqALT

Description: Alternate proof of pweq directly from the definition. (Contributed by NM, 21-Jun-1993) (Proof modification is discouraged.) (New usage is discouraged.)

Ref Expression
Assertion pweqALT ( 𝐴 = 𝐵 → 𝒫 𝐴 = 𝒫 𝐵 )

Proof

Step Hyp Ref Expression
1 sseq2 ( 𝐴 = 𝐵 → ( 𝑥𝐴𝑥𝐵 ) )
2 1 abbidv ( 𝐴 = 𝐵 → { 𝑥𝑥𝐴 } = { 𝑥𝑥𝐵 } )
3 df-pw 𝒫 𝐴 = { 𝑥𝑥𝐴 }
4 df-pw 𝒫 𝐵 = { 𝑥𝑥𝐵 }
5 2 3 4 3eqtr4g ( 𝐴 = 𝐵 → 𝒫 𝐴 = 𝒫 𝐵 )