set EE = { {i,j} where i, j is Element of NAT : ( i in Seg n & j in Seg n & i <> j ) } ;
now
let e be set ; :: thesis: ( e in { {i,j} where i, j is Element of NAT : ( i in Seg n & j in Seg n & i <> j ) } implies e in TWOELEMENTSETS (Seg n) )
assume e in { {i,j} where i, j is Element of NAT : ( i in Seg n & j in Seg n & i <> j ) } ; :: thesis: e in TWOELEMENTSETS (Seg n)
then consider i0, j0 being Element of NAT such that
A1: e = {i0,j0} and
A2: i0 in Seg n and
A3: j0 in Seg n and
A4: i0 <> j0 ;
e c= Seg n
proof
let e0 be set ; :: according to TARSKI:def 3 :: thesis: ( not e0 in e or e0 in Seg n )
assume A5: e0 in e ; :: thesis: e0 in Seg n
per cases ( e0 = i0 or e0 = j0 ) by A1, A5, TARSKI:def 2;
suppose e0 = i0 ; :: thesis: e0 in Seg n
hence e0 in Seg n by A2; :: thesis: verum
end;
suppose e0 = j0 ; :: thesis: e0 in Seg n
hence e0 in Seg n by A3; :: thesis: verum
end;
end;
end;
hence e in TWOELEMENTSETS (Seg n) by A1, A2, A3, A4, Th10; :: thesis: verum
end;
then { {i,j} where i, j is Element of NAT : ( i in Seg n & j in Seg n & i <> j ) } c= TWOELEMENTSETS (Seg n) by TARSKI:def 3;
then reconsider EE = { {i,j} where i, j is Element of NAT : ( i in Seg n & j in Seg n & i <> j ) } as finite Subset of (TWOELEMENTSETS (Seg n)) by Th15, FINSET_1:1;
set IT = SimpleGraphStruct(# (Seg n),EE #);
SimpleGraphStruct(# (Seg n),EE #) in SIMPLEGRAPHS NAT ;
then reconsider IT = SimpleGraphStruct(# (Seg n),EE #) as SimpleGraph of NAT by Def7;
take IT ; :: thesis: ex ee being finite Subset of (TWOELEMENTSETS (Seg n)) st
( ee = { {i,j} where i, j is Element of NAT : ( i in Seg n & j in Seg n & i <> j ) } & IT = SimpleGraphStruct(# (Seg n),ee #) )

take EE ; :: thesis: ( EE = { {i,j} where i, j is Element of NAT : ( i in Seg n & j in Seg n & i <> j ) } & IT = SimpleGraphStruct(# (Seg n),EE #) )
thus ( EE = { {i,j} where i, j is Element of NAT : ( i in Seg n & j in Seg n & i <> j ) } & IT = SimpleGraphStruct(# (Seg n),EE #) ) ; :: thesis: verum