Metamath Proof Explorer


Theorem alexeqg

Description: Two ways to express substitution of A for x in ph . This is the analogue for classes of sbalex . (Contributed by NM, 2-Mar-1995) (Revised by BJ, 27-Apr-2019)

Ref Expression
Assertion alexeqg AVxx=Aφxx=Aφ

Proof

Step Hyp Ref Expression
1 eqeq2 y=Ax=yx=A
2 1 anbi1d y=Ax=yφx=Aφ
3 2 exbidv y=Axx=yφxx=Aφ
4 1 imbi1d y=Ax=yφx=Aφ
5 4 albidv y=Axx=yφxx=Aφ
6 sbalex xx=yφxx=yφ
7 3 5 6 vtoclbg AVxx=Aφxx=Aφ
8 7 bicomd AVxx=Aφxx=Aφ