sympy/sympy — pull request #7694 by hargup (2014-07-04 20:45:05+00:00)
Title: Assumptions on ImageSet.lamda variable

This came up while working `ImageSet(...).intersect(S.Reals).
The assumption on the lambda variable in `ImageSet` is complex by default which causes inconvenience like
```
In[]: (n + I*n).as_imag_real()
Out[]:(re(n) - im(n), re(n) + im(n))
```
It is better if the assumptions on the variable is decided by the base_set of the ImageSet.