Metamath Proof Explorer


Theorem dvdemo1

Description: Demonstration of a theorem that requires the setvar variables x and y to be disjoint (but without any other disjointness conditions, and in particular, none on z ).

That theorem bundles the theorems ( |- E. x ( x = y -> z e. x ) with x , y , z disjoint), often called its "principal instance", and the two "degenerate instances" ( |- E. x ( x = y -> x e. x ) with x , y disjoint) and ( |- E. x ( x = y -> y e. x ) with x , y disjoint).

Compare with dvdemo2 , which has the same principal instance and one common degenerate instance but crucially differs in the other degenerate instance.

See https://us.metamath.org/mpeuni/mmset.html#distinct for details on the "disjoint variable" mechanism. (The verb "bundle" to express this phenomenon was introduced by Raph Levien.)

Note that dvdemo1 is partially bundled, in that the pairs of setvar variables x , z and y , z need not be disjoint, and in spite of that, its proof does not require ax-11 nor ax-13 . (Contributed by NM, 1-Dec-2006) (Revised by BJ, 13-Jan-2024)

Ref Expression
Assertion dvdemo1
|- E. x ( x = y -> z e. x )

Proof

Step Hyp Ref Expression
1 dtru
 |-  -. A. x x = y
2 exnal
 |-  ( E. x -. x = y <-> -. A. x x = y )
3 1 2 mpbir
 |-  E. x -. x = y
4 pm2.21
 |-  ( -. x = y -> ( x = y -> z e. x ) )
5 3 4 eximii
 |-  E. x ( x = y -> z e. x )