Metamath Proof Explorer


Theorem undif2

Description: Absorption of difference by union. This decomposes a union into two disjoint classes (see disjdif ). Part of proof of Corollary 6K of Enderton p. 144. (Contributed by NM, 19-May-1998)

Ref Expression
Assertion undif2 ( 𝐴 ∪ ( 𝐵𝐴 ) ) = ( 𝐴𝐵 )

Proof

Step Hyp Ref Expression
1 uncom ( 𝐴 ∪ ( 𝐵𝐴 ) ) = ( ( 𝐵𝐴 ) ∪ 𝐴 )
2 undif1 ( ( 𝐵𝐴 ) ∪ 𝐴 ) = ( 𝐵𝐴 )
3 uncom ( 𝐵𝐴 ) = ( 𝐴𝐵 )
4 1 2 3 3eqtri ( 𝐴 ∪ ( 𝐵𝐴 ) ) = ( 𝐴𝐵 )