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 ⊢ A ∩ B = ∅ → R ↾ A ∖ R ↾ B = R ↾ A

Proof

Step Hyp Ref Expression
1 disjresdisj ⊢ A ∩ B = ∅ → R ↾ A ∩ R ↾ B = ∅
2 disjdif2 ⊢ R ↾ A ∩ R ↾ B = ∅ → R ↾ A ∖ R ↾ B = R ↾ A
3 1 2 syl ⊢ A ∩ B = ∅ → R ↾ A ∖ R ↾ B = R ↾ A