Metamath Proof Explorer


Theorem disjresdif

Description: The difference between restrictions to disjoint is the first restriction. (Contributed by Peter Mazsa, 24-Jul-2024)

Ref Expression
Assertion disjresdif ( ( 𝐴𝐵 ) = ∅ → ( ( 𝑅𝐴 ) ∖ ( 𝑅𝐵 ) ) = ( 𝑅𝐴 ) )

Proof

Step Hyp Ref Expression
1 disjresdisj ( ( 𝐴𝐵 ) = ∅ → ( ( 𝑅𝐴 ) ∩ ( 𝑅𝐵 ) ) = ∅ )
2 disjdif2 ( ( ( 𝑅𝐴 ) ∩ ( 𝑅𝐵 ) ) = ∅ → ( ( 𝑅𝐴 ) ∖ ( 𝑅𝐵 ) ) = ( 𝑅𝐴 ) )
3 1 2 syl ( ( 𝐴𝐵 ) = ∅ → ( ( 𝑅𝐴 ) ∖ ( 𝑅𝐵 ) ) = ( 𝑅𝐴 ) )