Metamath Proof Explorer


Theorem rabeqcda

Description: When ps is always true in a context, a restricted class abstraction is equal to the restricting class. Deduction form of rabeqc . (Contributed by Steven Nguyen, 7-Jun-2023)

Ref Expression
Hypothesis rabeqcda.1 ⊢ φ ∧ x ∈ A → ψ
Assertion rabeqcda ⊢ φ → x ∈ A | ψ = A

Proof

Step Hyp Ref Expression
1 rabeqcda.1 ⊢ φ ∧ x ∈ A → ψ
2 df-rab ⊢ x ∈ A | ψ = x | x ∈ A ∧ ψ
3 1 ex ⊢ φ → x ∈ A → ψ
4 3 pm4.71d ⊢ φ → x ∈ A ↔ x ∈ A ∧ ψ
5 4 eqabdv ⊢ φ → A = x | x ∈ A ∧ ψ
6 2 5 eqtr4id ⊢ φ → x ∈ A | ψ = A