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 4 a1i y = B φ
6 3 pm5.74da x = A y = B φ y = B ψ
7 1 6 5 vtocl y = B ψ
8 5 7 2thd y = B φ ψ
9 2 8 4 vtocl ψ