Metamath Proof Explorer


Theorem bj-dvelimdv

Description: Deduction form of dvelim with disjoint variable conditions. Uncurried (imported) form of bj-dvelimdv1 . Typically, z is a fresh variable used for the implicit substitution hypothesis that results in ch (namely, ps can be thought as ps ( x , y ) and ch as ps ( x , z ) ). So the theorem says that if x is effectively free in ps ( x , z ) , then if x and y are not the same variable, then x is also effectively free in ps ( x , y ) , in a context ph .

One can weaken the implicit substitution hypothesis by adding the antecedent ph but this typically does not make the theorem much more useful. Similarly, one could use nonfreeness hypotheses instead of disjoint variable conditions but since this result is typically used when z is a dummy variable, this would not be of much benefit. One could also remove DV ( x , z ) since in the proof nfv can be replaced with nfal followed by nfn .

Remark: nfald uses ax-11 ; it might be possible to inline and use ax11w instead, but there is still a use via 19.12 anyway. (Contributed by BJ, 20-Oct-2021) (Proof modification is discouraged.)

Ref Expression
Hypotheses bj-dvelimdv.nf φ x χ
bj-dvelimdv.is z = y χ ψ
Assertion bj-dvelimdv φ ¬ x x = y x ψ

Proof

Step Hyp Ref Expression
1 bj-dvelimdv.nf φ x χ
2 bj-dvelimdv.is z = y χ ψ
3 2 equsalvw z z = y χ ψ
4 3 bicomi ψ z z = y χ
5 nfv z φ
6 nfv z ¬ x x = y
7 5 6 nfan z φ ¬ x x = y
8 nfeqf2 ¬ x x = y x z = y
9 8 adantl φ ¬ x x = y x z = y
10 1 adantr φ ¬ x x = y x χ
11 9 10 nfimd φ ¬ x x = y x z = y χ
12 7 11 nfald φ ¬ x x = y x z z = y χ
13 4 12 nfxfrd φ ¬ x x = y x ψ