Metamath Proof Explorer


Theorem speimfw

Description: Specialization, with additional weakening (compared to 19.2 ) to allow bundling of x and y . Uses only Tarski's FOL axiom schemes. (Contributed by NM, 23-Apr-2017) (Proof shortened by Wolf Lammen, 5-Dec-2017)

Ref Expression
Hypothesis speimfw.2 x = y φ ψ
Assertion speimfw ¬ x ¬ x = y x φ x ψ

Proof

Step Hyp Ref Expression
1 speimfw.2 x = y φ ψ
2 df-ex x x = y ¬ x ¬ x = y
3 2 biimpri ¬ x ¬ x = y x x = y
4 1 com12 φ x = y ψ
5 4 aleximi x φ x x = y x ψ
6 3 5 syl5com ¬ x ¬ x = y x φ x ψ