-
-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Spec into a functor #16158
Comments
Branch: u/pbruin/16158-Spec_functor |
comment:1
For easier reviewing (until #15990 is merged), it is probably helpful to look at the individual commits or at the output of |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from u/pbruin/16158-Spec_functor to u/tscrim/spec_functor-16158 |
Reviewer: Travis Scrimshaw |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Just some minor changes, thanks for the review. |
Changed branch from u/tscrim/spec_functor-16158 to u/pbruin/16158-Spec_functor |
comment:11
|
Changed branch from u/pbruin/16158-Spec_functor to u/tscrim/spec_functor-16158 |
comment:13
Hmm...despite not making any changes to that file, it's somehow falling back to the cached version because it wasn't garbage collected. There doesn't seem to be a memory leak as far as I can tell, so I'm thinking it's just hanging around longer in the doctest. In either case, I made the check of the algorithm more robust. New commits:
|
comment:14
Replying to @pjbruin:
This should be solved by #16680. |
Changed branch from u/tscrim/spec_functor-16158 to u/pbruin/16158-Spec_functor |
comment:15
Replying to @tscrim:
Argh, didn't see this in time and made a different fix in #16680. I think it is a bit silly to check the |
comment:17
Replying to @tscrim:
It seems to me that this ticket actually has nothing to do with the problem Volker found; it is #11474 that should have had #16680 as a dependency if it hadn't been closed already. Would you agree with setting this one back to positive review and finishing #16680 before the next beta? |
comment:18
Replying to @pjbruin:
I can't reproduce the error Volker got with this ticket alone, so I agree with your assessment. Positive review and lets (quickly) finish #16680. |
Changed branch from u/pbruin/16158-Spec_functor to |
Sage's
Spec
command currently produces aSpec
object that derives from, but is not the same as, anAffineScheme
. The goal of this ticket isSpec
withAffineScheme
by moving all existing methods ofSpec
toAffineScheme
;Spec
to a functor fromCommutativeRings
toSchemes
(orSchemes(A)
if a base ring A is specified), returning objects of typeAffineScheme
.Example of the new functionality:
Two small user-visible changes had to be made to accommodate the new situation:
S(a_1, ..., a_n)
to construct the topological point of S defined by the prime ideal P = (a1, ..., an) of A is no longer supported. The syntaxS(A.ideal(a_1, ..., a_n))
now has to be used instead. This is because it conflicts with the much more useful application of this syntax to construct the point with coordinates (a1, ..., an) if S is (a subscheme of) an affine space An.X(A)
is the same as before (a point homset), butX(S)
, which used to be identical to this, now returns the standard scheme homset. To get the point homset, one now has to typeX(A)
orX(S.coordinate_ring())
. This seems the "principle of least surprise" convention to me, and it is consistent with the fact thatX.point_homset()
only accepts rings, not affine schemes.More improvements to affine schemes are made in #7946.
Depends on #15990
Depends on #16156
Depends on #16680
CC: @nthiery @vbraun
Component: algebraic geometry
Keywords: Spec functor affine scheme
Author: Peter Bruin
Branch/Commit:
185b49c
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/16158
The text was updated successfully, but these errors were encountered: