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

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 ( ( 𝐴𝐵 ) = ∅ → ( ( 𝐴𝐵 ) ∖ 𝐵 ) = 𝐴 )

Proof

Step Hyp Ref Expression
1 difun2 ( ( 𝐴𝐵 ) ∖ 𝐵 ) = ( 𝐴𝐵 )
2 disjdif2 ( ( 𝐴𝐵 ) = ∅ → ( 𝐴𝐵 ) = 𝐴 )
3 1 2 eqtrid ( ( 𝐴𝐵 ) = ∅ → ( ( 𝐴𝐵 ) ∖ 𝐵 ) = 𝐴 )