Metamath Proof Explorer


Theorem eqriv

Description: Infer equality of classes from equivalence of membership. (Contributed by NM, 21-Jun-1993)

Ref Expression
Hypothesis eqriv.1 ( 𝑥𝐴𝑥𝐵 )
Assertion eqriv 𝐴 = 𝐵

Proof

Step Hyp Ref Expression
1 eqriv.1 ( 𝑥𝐴𝑥𝐵 )
2 dfcleq ( 𝐴 = 𝐵 ↔ ∀ 𝑥 ( 𝑥𝐴𝑥𝐵 ) )
3 2 1 mpgbir 𝐴 = 𝐵