Metamath Proof Explorer


Theorem dfrab3ss

Description: Restricted class abstraction with a common superset. (Contributed by Stefan O'Rear, 12-Sep-2015) (Proof shortened by Mario Carneiro, 8-Nov-2015)

Ref Expression
Assertion dfrab3ss A B x A | φ = A x B | φ

Proof

Step Hyp Ref Expression
1 df-ss A B A B = A
2 ineq1 A B = A A B x | φ = A x | φ
3 2 eqcomd A B = A A x | φ = A B x | φ
4 1 3 sylbi A B A x | φ = A B x | φ
5 dfrab3 x A | φ = A x | φ
6 dfrab3 x B | φ = B x | φ
7 6 ineq2i A x B | φ = A B x | φ
8 inass A B x | φ = A B x | φ
9 7 8 eqtr4i A x B | φ = A B x | φ
10 4 5 9 3eqtr4g A B x A | φ = A x B | φ