Metamath Proof Explorer


Theorem rabeqc

Description: A restricted class abstraction equals the restricting class if its condition follows from the membership of the free setvar variable in the restricting class. (Contributed by AV, 20-Apr-2022)

Ref Expression
Hypothesis rabeqc.1 x A φ
Assertion rabeqc x A | φ = A

Proof

Step Hyp Ref Expression
1 rabeqc.1 x A φ
2 df-rab x A | φ = x | x A φ
3 abeq1 x | x A φ = A x x A φ x A
4 1 pm4.71i x A x A φ
5 4 bicomi x A φ x A
6 3 5 mpgbir x | x A φ = A
7 2 6 eqtri x A | φ = A