Metamath Proof Explorer


Theorem dfun2

Description: An alternate definition of the union of two classes in terms of class difference, requiring no dummy variables. Along with dfin2 and dfss4 it shows we can express union, intersection, and subset directly in terms of the single "primitive" operation \ (class difference). (Contributed by NM, 10-Jun-2004)

Ref Expression
Assertion dfun2 AB=VVAB

Proof

Step Hyp Ref Expression
1 vex xV
2 eldif xVAxV¬xA
3 1 2 mpbiran xVA¬xA
4 3 anbi1i xVA¬xB¬xA¬xB
5 eldif xVABxVA¬xB
6 ioran ¬xAxB¬xA¬xB
7 4 5 6 3bitr4i xVAB¬xAxB
8 7 con2bii xAxB¬xVAB
9 eldif xVVABxV¬xVAB
10 1 9 mpbiran xVVAB¬xVAB
11 8 10 bitr4i xAxBxVVAB
12 11 uneqri AB=VVAB