On Friday, 24 March 2023 at 13:04:48 UTC-7 William Stein wrote:
The code it suggests next doesn't work, but to me that seems like a bug in Sage (?). Omitting the P entirely does work. -- William -- Not a bug in sage, but a more insidious error in the example ChatGPT originally created. It's basically doing something along the lines: sage: R.<x,y>=GF(7)[] sage: P = ProjectiveSpace(2,GF(7)) sage: Curve( P, x^3+y^3-x-y+1) However, the documentation of Curve says that the *second* argument should be the ambient space (if provided). So: Curve(x^3+y^3-x-y+1, AffineSpace(R)) does work. The syntactical correction Curve(x^3+y^3-x-y+1,P) still doesn't work because we have an affine equation and are specifying an unrelated projective space. I think the conclusion should be that ChatGPT pretends to be a SageMath expert with great confidence but .. gasp ... isn't! -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/cf573e16-1ceb-4d80-a166-cd82abd93c8cn%40googlegroups.com.