Metamath Proof Explorer


Theorem rabeq

Description: Equality theorem for restricted class abstractions. (Contributed by NM, 15-Oct-2003) Avoid ax-10 , ax-11 , ax-12 . (Revised by GG, 20-Aug-2023)

Ref Expression
Assertion rabeq ⊢ A = B → x ∈ A | φ = x ∈ B | φ

Proof

Step Hyp Ref Expression
1 eleq2 ⊢ A = B → x ∈ A ↔ x ∈ B
2 1 anbi1d ⊢ A = B → x ∈ A ∧ φ ↔ x ∈ B ∧ φ
3 2 rabbidva2 ⊢ A = B → x ∈ A | φ = x ∈ B | φ