Metamath Proof Explorer


Theorem vtoclri

Description: Implicit substitution of a class for a setvar variable. (Contributed by NM, 21-Nov-1994)

Ref Expression
Hypotheses vtoclri.1 ⊢ x = A → φ ↔ ψ
vtoclri.2 ⊢ ∀ x ∈ B φ
Assertion vtoclri ⊢ A ∈ B → ψ

Proof

Step Hyp Ref Expression
1 vtoclri.1 ⊢ x = A → φ ↔ ψ
2 vtoclri.2 ⊢ ∀ x ∈ B φ
3 2 rspec ⊢ x ∈ B → φ
4 1 3 vtoclga ⊢ A ∈ B → ψ