OK, i did not understood your question. This is because symbols have
unique representation, based only on their "name", not assumptions:
sage: x = SR.var('x', domain='complex')
sage: y = SR.var('x', domain='real')
sage: x is y
True
This is indeed unfortunate. I would say it is a bug, but fixing it would
require to refactor a lot of code in handling assumptions. The only
short-term workaround i see is to use different symbols.
Ciao,
Thierry
>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-devel+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-devel/10e761af-fe61-4d42-a86e-573c80e81505%40googlegroups.com.