Metamath Proof Explorer


Theorem undif5

Description: An equality involving class union and class difference. (Contributed by Thierry Arnoux, 26-Jun-2024)

Ref Expression
Assertion undif5 A B = A B B = A

Proof

Step Hyp Ref Expression
1 difun2 A B B = A B
2 disjdif2 A B = A B = A
3 1 2 syl5eq A B = A B B = A