Metamath Proof Explorer


Theorem ineq1

Description: Equality theorem for intersection of two classes. (Contributed by NM, 14-Dec-1993) (Proof shortened by SN, 20-Sep-2023)

Ref Expression
Assertion ineq1 ⊢ A = B → A ∩ C = B ∩ C

Proof

Step Hyp Ref Expression
1 rabeq ⊢ A = B → x ∈ A | x ∈ C = x ∈ B | x ∈ C
2 dfin5 ⊢ A ∩ C = x ∈ A | x ∈ C
3 dfin5 ⊢ B ∩ C = x ∈ B | x ∈ C
4 1 2 3 3eqtr4g ⊢ A = B → A ∩ C = B ∩ C