final kodkod.ast.Decl newd;
env.put((ExprVar)dex, v);
if (dex.type().arity()!=1) {
guards.add(isIn(v, dexexpr));
newd = v.setOf(dv);
} else switch(dexexpr.mult()) {
case SETOF: newd = v.setOf(dv); break;
case SOMEOF: newd = v.someOf(dv); break;
case LONEOF: newd = v.loneOf(dv); break;
default: newd = v.oneOf(dv);
}