Metamath Proof Explorer


Theorem difun2

Description: Absorption of union by difference. Theorem 36 of Suppes p. 29. (Contributed by NM, 19-May-1998)

Ref Expression
Assertion difun2 ( ( 𝐴𝐵 ) ∖ 𝐵 ) = ( 𝐴𝐵 )

Proof

Step Hyp Ref Expression
1 difundir ( ( 𝐴𝐵 ) ∖ 𝐵 ) = ( ( 𝐴𝐵 ) ∪ ( 𝐵𝐵 ) )
2 difid ( 𝐵𝐵 ) = ∅
3 2 uneq2i ( ( 𝐴𝐵 ) ∪ ( 𝐵𝐵 ) ) = ( ( 𝐴𝐵 ) ∪ ∅ )
4 un0 ( ( 𝐴𝐵 ) ∪ ∅ ) = ( 𝐴𝐵 )
5 1 3 4 3eqtri ( ( 𝐴𝐵 ) ∖ 𝐵 ) = ( 𝐴𝐵 )