Metamath Proof Explorer


Theorem sbc7

Description: An equivalence for class substitution in the spirit of df-clab . Note that x and A don't have to be distinct. (Contributed by NM, 18-Nov-2008) (Revised by Mario Carneiro, 13-Oct-2016)

Ref Expression
Assertion sbc7 [˙A/x]˙φyy=A[˙y/x]˙φ

Proof

Step Hyp Ref Expression
1 sbccow [˙A/y]˙[˙y/x]˙φ[˙A/x]˙φ
2 sbc5 [˙A/y]˙[˙y/x]˙φyy=A[˙y/x]˙φ
3 1 2 bitr3i [˙A/x]˙φyy=A[˙y/x]˙φ