On Sun, Dec 21, 2025 at 5:48 AM Enrique Artal <[email protected]>
wrote:
> I think that this code has been successful once:
> R.<x, y> = QQ[]
> T.<t> = QQ[]
> sb = {x: t, y: t^2}
> X = vector(R.gens())
> X.subs(sb)
>
> This one works:
>
> R.<x, y, z> = QQ[]
> T.<t, t0, t1> = QQ[]
> F = (y * z - x^2)^2 - x^3 * z
> sb = {x:t^2, y:t^3 + t^4, z:1}
> X = vector(R.gens())
> X.subs(sb)
>
> But the result is (x^2, x^4 + x^3, 1)
>
> What am I doing wrong
>
Do you need the ring T?
R.<x, y, z, t> = QQ[]
sb = {x:t^2, y:t^3 + t^4, z:1}
X = vector([x,y,z])
X.subs(x=t^2, y=t^3 + t^4, z=1)
works for me.
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/sage-support/3820340c-b09a-45bb-958b-f8403f094269n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-support/3820340c-b09a-45bb-958b-f8403f094269n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/sage-support/CAEQuuAX-t8vxedoZAeq09EVOXCaOH9fzhxiySGZO4mD9yPw4Sw%40mail.gmail.com.