# Metamath Proof Explorer

## Theorem dtruALT

Description: Alternate proof of dtru which requires more axioms but is shorter and may be easier to understand.

Assuming that ZF set theory is consistent, we cannot prove this theorem unless we specify that x and y be distinct. Specifically, theorem spcev requires that x must not occur in the subexpression -. y = { (/) } in step 4 nor in the subexpression -. y = (/) in step 9. The proof verifier will require that x and y be in a distinct variable group to ensure this. You can check this by deleting the \$d statement in set.mm and rerunning the verifier, which will print a detailed explanation of the distinct variable violation. (Contributed by NM, 15-Jul-1994) (Proof modification is discouraged.) (New usage is discouraged.)

Ref Expression
Assertion dtruALT ${⊢}¬\forall {x}\phantom{\rule{.4em}{0ex}}{x}={y}$

### Proof

Step Hyp Ref Expression
1 0inp0 ${⊢}{y}=\varnothing \to ¬{y}=\left\{\varnothing \right\}$
2 p0ex ${⊢}\left\{\varnothing \right\}\in \mathrm{V}$
3 eqeq2 ${⊢}{x}=\left\{\varnothing \right\}\to \left({y}={x}↔{y}=\left\{\varnothing \right\}\right)$
4 3 notbid ${⊢}{x}=\left\{\varnothing \right\}\to \left(¬{y}={x}↔¬{y}=\left\{\varnothing \right\}\right)$
5 2 4 spcev ${⊢}¬{y}=\left\{\varnothing \right\}\to \exists {x}\phantom{\rule{.4em}{0ex}}¬{y}={x}$
6 1 5 syl ${⊢}{y}=\varnothing \to \exists {x}\phantom{\rule{.4em}{0ex}}¬{y}={x}$
7 0ex ${⊢}\varnothing \in \mathrm{V}$
8 eqeq2 ${⊢}{x}=\varnothing \to \left({y}={x}↔{y}=\varnothing \right)$
9 8 notbid ${⊢}{x}=\varnothing \to \left(¬{y}={x}↔¬{y}=\varnothing \right)$
10 7 9 spcev ${⊢}¬{y}=\varnothing \to \exists {x}\phantom{\rule{.4em}{0ex}}¬{y}={x}$
11 6 10 pm2.61i ${⊢}\exists {x}\phantom{\rule{.4em}{0ex}}¬{y}={x}$
12 exnal ${⊢}\exists {x}\phantom{\rule{.4em}{0ex}}¬{y}={x}↔¬\forall {x}\phantom{\rule{.4em}{0ex}}{y}={x}$
13 eqcom ${⊢}{y}={x}↔{x}={y}$
14 13 albii ${⊢}\forall {x}\phantom{\rule{.4em}{0ex}}{y}={x}↔\forall {x}\phantom{\rule{.4em}{0ex}}{x}={y}$
15 12 14 xchbinx ${⊢}\exists {x}\phantom{\rule{.4em}{0ex}}¬{y}={x}↔¬\forall {x}\phantom{\rule{.4em}{0ex}}{x}={y}$
16 11 15 mpbi ${⊢}¬\forall {x}\phantom{\rule{.4em}{0ex}}{x}={y}$