Skip to content
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

either characteristic or equality test in localizations of quotients is lying #4324

Open
thofma opened this issue Nov 15, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@thofma
Copy link
Collaborator

thofma commented Nov 15, 2024

@HechtiDerLachs For the ring

julia> Qxyz, (x, y, z) = QQ["x", "y", "z"];

julia> I = ideal(Qxyz, x^2 - x, x * y);

julia> Q, = quo(Qxyz, I);

julia> L, = localization(Q, powers_of_element(x) * powers_of_element(x - 1));

I get

julia> iszero(one(L))
true

julia> characteristic(L)
0

Any idea what could be wrong?

P.S.: I got this from an example in the geometry tests, while looking for usages of the zero ring.

@thofma thofma added the bug Something isn't working label Nov 15, 2024
@thofma thofma changed the title characteristic or equality test in localizations of quotients either characteristic or equality test in localizations of quotients is lying Nov 15, 2024
@thofma
Copy link
Collaborator Author

thofma commented Nov 15, 2024

I guess the multiplicative set contains zero, so the characteristic is wrong.

@fingolfin
Copy link
Member

yeah, this method is overly optimistic:

characteristic(W::AbsLocalizedRing) = characteristic(base_ring(W))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants