Metamath Proof Explorer


Theorem inres2

Description: Two ways of expressing the restriction of an intersection. (Contributed by Peter Mazsa, 5-Jun-2021)

Ref Expression
Assertion inres2 ⊢ R ↾ A ∩ S = R ∩ S ↾ A

Proof

Step Hyp Ref Expression
1 inres ⊢ S ∩ R ↾ A = S ∩ R ↾ A
2 1 ineqcomi ⊢ R ↾ A ∩ S = S ∩ R ↾ A
3 incom ⊢ R ∩ S = S ∩ R
4 3 reseq1i ⊢ R ∩ S ↾ A = S ∩ R ↾ A
5 2 4 eqtr4i ⊢ R ↾ A ∩ S = R ∩ S ↾ A