I want to execute solve($(t+1)^2==5, t$) in Sage and using the Ring $\mathbb {Z}[X]/(x^2-2)$ so that $(t+1)^2$ evaluates to $2t+3$ and the solution of the solve is [t == 1].
My question is how to set up the domains in Sage prior to executing the solve function?
You can't specify (or prespecify) a domain for
solve. The best I could come up with is this snippet:This means $t=1$ with multiplicity $1$.
If you really need eq_t as symbolic expression, you can do this: