Metamath Proof Explorer


Theorem spcdvw

Description: A version of spcdv where ps and ch are direct substitutions of each other. This theorem is useful because it does not require ph and x to be distinct variables. (Contributed by Emmett Weisz, 12-Apr-2020)

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

Proof

Step Hyp Ref Expression
1 spcdvw.1 ⊢ φ → A ∈ B
2 spcdvw.2 ⊢ x = A → ψ ↔ χ
3 2 biimpd ⊢ x = A → ψ → χ
4 3 ax-gen ⊢ ∀ x x = A → ψ → χ
5 nfv ⊢ Ⅎ x χ
6 nfcv ⊢ Ⅎ _ x A
7 5 6 spcimgfi1 ⊢ ∀ x x = A → ψ → χ → A ∈ B → ∀ x ψ → χ
8 4 1 7 mpsyl ⊢ φ → ∀ x ψ → χ