Metamath Proof Explorer


Theorem idinxpres

Description: The intersection of the identity relation with a cartesian product is the restriction of the identity relation to the intersection of the factors. (Contributed by FL, 2-Aug-2009) (Proof shortened by Peter Mazsa, 9-Sep-2022) Generalize statement from cartesian square (now idinxpresid ) to cartesian product. (Revised by BJ, 23-Dec-2023)

Ref Expression
Assertion idinxpres ⊢ I ∩ A × B = I ↾ A ∩ B

Proof

Step Hyp Ref Expression
1 elidinxp ⊢ x ∈ I ∩ A × B ↔ ∃ y ∈ A ∩ B x = y y
2 elrid ⊢ x ∈ I ↾ A ∩ B ↔ ∃ y ∈ A ∩ B x = y y
3 1 2 bitr4i ⊢ x ∈ I ∩ A × B ↔ x ∈ I ↾ A ∩ B
4 3 eqriv ⊢ I ∩ A × B = I ↾ A ∩ B