-
Notifications
You must be signed in to change notification settings - Fork 133
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
Rename Spec to AffineScheme #3345
Comments
I don't have any (strong) opinion. Wha I would like you (all) to think about, is how someone who does not know what a scheme is can create and use the P^2(QQ), the projective space as introduced in many (classical) (basic) texts. How is this interaction going to be? Those will be the vast majority of users.... |
The names of the underscore constructors won't change. So your question is tangential. |
In yesterday's OSCAR meeting it was decided with @micjoswig, @wdecker, @jankoboehm and others to:
|
Similarly, we should have ProjectiveScheme, proj, and projective_scheme.
… Am 17.02.2024 um 11:07 schrieb Erik Paemurru ***@***.***>:
In yesterday's OSCAR meeting it was decided with @micjoswig <https://github.com/micjoswig>, @wdecker <https://github.com/wdecker>, @jankoboehm <https://github.com/jankoboehm> and others to:
rename the type Spec to AffineScheme,
rename the function Spec to spec, and
introduce an alias affine_scheme of spec.
—
Reply to this email directly, view it on GitHub <#3345 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AASSXESHUZONGMY4YLKJCY3YUB6P5AVCNFSM6AAAAABDBPQ3T6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZHEZDGMZTG4>.
You are receiving this because you were mentioned.
|
Yesterday, I was not aware of the original issue which suggests moving ProjectiveScheme to Proj etc. So this contradicts to what we decided yesterday. So why moving rojectiveScheme to Proj etc? Isn’t it fine, as it is?
… Am 17.02.2024 um 11:07 schrieb Erik Paemurru ***@***.***>:
In yesterday's OSCAR meeting it was decided with @micjoswig <https://github.com/micjoswig>, @wdecker <https://github.com/wdecker>, @jankoboehm <https://github.com/jankoboehm> and others to:
rename the type Spec to AffineScheme,
rename the function Spec to spec, and
introduce an alias affine_scheme of spec.
—
Reply to this email directly, view it on GitHub <#3345 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AASSXESHUZONGMY4YLKJCY3YUB6P5AVCNFSM6AAAAABDBPQ3T6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZHEZDGMZTG4>.
You are receiving this because you were mentioned.
|
@wdecker The original issue was the inconsistency that currently we have the types If we rename |
o.k., so implementing yesterday’s decision for the affine case and leaving the projective stuff as it is will settle the problem.
… Am 17.02.2024 um 12:45 schrieb Erik Paemurru ***@***.***>:
@wdecker <https://github.com/wdecker> The original issue was the inconsistency that currently we have the types Spec and ProjectiveScheme. For consistency, we would like to have either AffineScheme and ProjectiveScheme or Spec and Proj.
—
Reply to this email directly, view it on GitHub <#3345 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AASSXESIZFBSSAYZWPRZHG3YUCJ7PAVCNFSM6AAAAABDBPQ3T6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZHE3DANRTGE>.
You are receiving this because you were mentioned.
|
Below are eleven functions containing Spec or spec.
If we rename the type At the moment, there is a problem that Note that outside of algebraic geometry, the name |
Fine with me. @fieker what do you think?
It is difficult to be globally consistent. After all, notation is not uniform across all of mathematics. I would encourage to use |
Our style guide says nothing about how one should name variables inside a function, so I don't think this is relevant here. |
I wonder if there could be more intuitive names. I have a Hard time guessing, what the names stand for. Matthias?Von meinem iPhone gesendetAm 17.02.2024 um 16:33 schrieb Tommy Hofmann ***@***.***>:
Note that outside of algebraic geometry, the name proj suggests it is an abbreviation of projection. It is used in this meaning in local scope inside a function for group theory, src/Groups/sub.jl, unrelated to projective schemes.
It is difficult to be globally consistent. After all, notation is not uniform across all of mathematics. I would encourage to use projection instead of projoutside of the algebraic geometry sections. But that should be decided by @fingolfin
Our style guide says nothing about how one should name variables inside a function, so I don't think this is relevant here.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
As I see it, most of these eleven identifiers are internal DataTypes or internal functions. The whole SpecOpen stuff is of technical relevance (and needed!), but by far to complicated to be user facing. From my point of view, the relevant ones for the renaming are: Spec and SpecMor, which then become AffineScheme and AffineSchemeMorphism by renaming the respective data types and functions. Using this naming, we have to keep in mind a subtle difference: our affine_schemes are always the Spec of a ring, while the mathematical definition merely states that an affine scheme is isomorphic to the Spec of some ring. This is not meant as an argument against the renaming, but this detail needs to be stated as a sideremark in the documentation of the AffineScheme and AffineSchemeMorphism. |
@benlorenz @paemurru is working on a PR about this right now and running the test. Could we please backport that? |
What's the impact on the book? |
I will continue with the rc as planned for today, and we can decide later (maybe in the meeting today) if we can still merge this after the release candidate. (depending on the impact and further testing) |
I suggested to take into account that we distinguish here between types and user-facing functions. Has this be taken into account? It would be good to see a list of changes.
… Am 23.02.2024 um 12:21 schrieb Michael Joswig ***@***.***>:
Could we please backport that? It is a rather big change of the interface that I would like to have in 1.0. Edit: Hopefully the PR will be ready today.
What's the impact on the book?
@fieker <https://github.com/fieker>
—
Reply to this email directly, view it on GitHub <#3345 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AASSXERTTU6LNGPHJAJ63DDYVB3SRAVCNFSM6AAAAABDBPQ3T6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRRGE2TEMJUGE>.
You are receiving this because you were mentioned.
|
Running a |
@wdecker Yes, I am distinguishing between types and user-facing constructors. The types will be in CamelCase and the functions in snake_case. The type @wdecker By recommendation of @simonbrandhorst, I am renaming Apart from Most of the changes below are either comments, types or internal functions that contain the type previously called
|
Sorry for the late notice (relative to the OSCAR book/version 1.0). I just realized that there might be one more place to adjust/consider for the renaming (unless already done): |
Should the toric guy be renamed to |
I just briefly checked with @wdecker - Wolfram and I would both be happy with |
* Rename Spec -> AffineScheme Use `AffineScheme` only for the type, not the function. * Rename proj for toric divisors to projectivization As was recommended by Martin Bies and Wolfram Decker. * Function ProjectiveScheme to projective_scheme and proj * Fix: spec now extends the constructor AffineScheme In particular, spec allows the argument to be a quotient ring or localized ring. Similarly for proj. Probably the tests would not have passed in the previous commit because of this * add support for projective_scheme and affine_scheme --------- Co-authored-by: Simon Brandhorst <[email protected]>
* Rename Spec -> AffineScheme Use `AffineScheme` only for the type, not the function. * Rename proj for toric divisors to projectivization As was recommended by Martin Bies and Wolfram Decker. * Function ProjectiveScheme to projective_scheme and proj * Fix: spec now extends the constructor AffineScheme In particular, spec allows the argument to be a quotient ring or localized ring. Similarly for proj. Probably the tests would not have passed in the previous commit because of this * add support for projective_scheme and affine_scheme --------- Co-authored-by: Simon Brandhorst <[email protected]> (cherry picked from commit b00d5e4)
- Add QQBar docs to the manual #3423 - do not show the OscarInterface banner #3422 - fix bugs in all_OD_infos #3419 - Ep/ Rename Spec to AffineScheme #3345 #3425 - Remove two mentions of Arb_jll #3431 - Tweak epimorphism_from_free_group #3430 - CI: re-enable nightly #3435 - support gen(G::GAPGroup, 0) #3332 - Align all_*_groups methods some more #3433 - Add all_perfect_groups #3434 - Add all_primitive_groups and all_transitive_groups variants taking a single int or int range #3404 - fix a docstring #3436 - Fixes multivariate division #3396 - Docu invariants tori #3428 - Improve docstrings for is_conjugate/is_conjugate_with_data. #3384 - Fix ambient_module(M::SubquoModule) #3448 - Bugfix for printing of affine schemes #3437 - Bugfix for bugfix for printing of affine schemes #3445 - Update OSCAR banner #3410 - Docu invariants lin. red. groups (Lakshmi Ramesh and Wolfram Decker) #3443 - add od_from_atlas_group, od_from_p_subgroup, and helpers #3444 - Unexport normalise #3453 - support group properties for character tables #3449 - add docstrings for acting_group and action_function #3432 (exports are used in new groups code for the book) - Adjust to renaming of rank(A::FinGenAbGroup) to torsion_free_rank(A::FinGenAbGroup) #3457 - Ensure fp_group(G) transfers group attributes #3464 - Added comment on convention #3467 - Export weierstrass_chart_on_minimal_model and patch transform_to_weierstrass #3458 - Fix a doc signature #3466 - Grading + caching for affine algebra of torus invariants #3469
We have the types
Spec
andProjectiveScheme
. To make the names consistent, we will changeSpec
intoAffineScheme
. The functions to construct affine and projective schemes will still be calledspec
andproj
. This completes one bullet point in Schemes Meta Issue #3202.For consistency, we need to also change many related types and functions like
AbsSpec
andSpecMor
. See #3345 (comment) for the list of planned changes.The text was updated successfully, but these errors were encountered: