GdlTerm arg2 = (GdlTerm)getInstantiationAux(distinct.getArg2(), varInstantiation);
return GdlPool.getDistinct(arg1, arg2);
}
else if(gdl instanceof GdlNot)
{
GdlNot not = (GdlNot)gdl;
GdlLiteral body = (GdlLiteral)getInstantiationAux(not.getBody(), varInstantiation);
return GdlPool.getNot(body);
}
else if(gdl instanceof GdlOr)
{
GdlOr or = (GdlOr)gdl;