Metamath Proof Explorer


Theorem vtocl2

Description: Implicit substitution of classes for setvar variables. (Contributed by NM, 26-Jul-1995) (Proof shortened by Andrew Salmon, 8-Jun-2011)

Ref Expression
Hypotheses vtocl2.1 A V
vtocl2.2 B V
vtocl2.3 x = A y = B φ ψ
vtocl2.4 φ
Assertion vtocl2 ψ

Proof

Step Hyp Ref Expression
1 vtocl2.1 A V
2 vtocl2.2 B V
3 vtocl2.3 x = A y = B φ ψ
4 vtocl2.4 φ
5 3 pm5.74da x = A y = B φ y = B ψ
6 4 a1i y = B φ
7 1 5 6 vtocl y = B ψ
8 2 7 vtocle ψ