Metamath Proof Explorer


Theorem wl-sbal2

Description: Move quantifier in and out of substitution. Revised to remove a distinct variable constraint. (Contributed by NM, 2-Jan-2002) Proof is based on wl-sbalnae now. See also sbal2 . (Revised by Wolf Lammen, 25-Jul-2019) (Proof modification is discouraged.) (New usage is discouraged.)

Ref Expression
Assertion wl-sbal2 ⊢ ¬ ∀ x x = y → z y ∀ x φ ↔ ∀ x z y φ

Proof

Step Hyp Ref Expression
1 naev ⊢ ¬ ∀ x x = y → ¬ ∀ x x = z
2 wl-sbalnae ⊢ ¬ ∀ x x = y ∧ ¬ ∀ x x = z → z y ∀ x φ ↔ ∀ x z y φ
3 1 2 mpdan ⊢ ¬ ∀ x x = y → z y ∀ x φ ↔ ∀ x z y φ