-
Notifications
You must be signed in to change notification settings - Fork 126
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
document and clean up algebraic cycles #4137
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thank you for cleaning this up!
For now the mathematical description of the functions is spelled out in the documentation. We should, however, go through the literature and eventually adjust the notions and/or give references on the next appropriate occasion.
I "fixed" the tests by coherently passing on the |
Thank you. |
temp_dict=IdDict{AbsAffineScheme,Ideal}() | ||
temp_dict[U] = comp | ||
I_sheaf_temp = IdealSheaf(X, extend!(cov, temp_dict), check=false) | ||
I_sheaf_temp = PrimeIdealSheafFromChart(X, U, comp, check=false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a non-trivial change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some doubts about this function irreducible_decomposition(::EffectiveCartierDivisor)
.
It seems to assume that this Cartier divisor is a Weyl divisor. Do we need to assume the ambient scheme
Also I wonder if we could return a Weyl divisor here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a non-trivial change.
This function was written long before we had PrimeIdealSheafFromChart
. The change makes sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also I wonder if we could return a Weyl divisor here.
Would make sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are several calls to the now deprecated in_linear_system
in /test/AlgebraicGeometry/Schemes/WeilDivisor.jl
which now need the extra is_
:
Oscar.jl/test/AlgebraicGeometry/Schemes/WeilDivisor.jl
Lines 126 to 130 in c35f32a
@test in_linear_system(KK(x[1]), D) | |
@test !in_linear_system(KK(x[1]^2), D) | |
@test in_linear_system(KK(x[1]^2), 2*D) | |
# Not running at the moment; work in progress | |
#@test !in_linear_system(KK(x[1], x[2]), D) |
(and further down as well)
@simonbrandhorst : Looks like we messed up our book tests again. Do you have an idea why? |
…s, move some stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I leave you a few nitpicks -- mostly on the docstrings.
temp_dict=IdDict{AbsAffineScheme,Ideal}() | ||
temp_dict[U] = comp | ||
I_sheaf_temp = IdealSheaf(X, extend!(cov, temp_dict), check=false) | ||
I_sheaf_temp = PrimeIdealSheafFromChart(X, U, comp, check=false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a non-trivial change.
This function was written long before we had PrimeIdealSheafFromChart
. The change makes sense.
temp_dict=IdDict{AbsAffineScheme,Ideal}() | ||
temp_dict[U] = comp | ||
I_sheaf_temp = IdealSheaf(X, extend!(cov, temp_dict), check=false) | ||
I_sheaf_temp = PrimeIdealSheafFromChart(X, U, comp, check=false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also I wonder if we could return a Weyl divisor here.
Would make sense.
I am curious about the change from |
This was my doing. My thought was that the function returns a boolean and therefore should be called |
|
@@ -2140,3 +2240,88 @@ is_one(II::SingularLocusIdealSheaf) = all(is_one(produce_non_radical_ideal_of_si | |||
|
|||
in_radical(J::AbsIdealSheaf, II::SingularLocusIdealSheaf) = all(all(radical_membership(g, produce_non_radical_ideal_of_singular_locus(II, U)) for g in gens(J(U))) for U in affine_charts(scheme(J))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simonbrandhorst this one here
* document algebraic cycles * move some type declatations in Schemes/ to Schemes/Types.jl --------- Co-authored-by: HechtiDerLachs <zach@mathematik.uni-kl.de> Co-authored-by: afkafkafk13 <anne.fruehbis-krueger@uol.de>
No description provided.