-
Notifications
You must be signed in to change notification settings - Fork 112
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
Printing roots of unity #552
Comments
On Fri, Jul 09, 2021 at 09:30:30AM -0700, Wolfram Decker wrote:
Writing elements of the abelian closure of QQ looks horrible:
julia> binomial_primary_decomposition(I)
3-element Array{Tuple{MPolyIdeal{AbstractAlgebra.Generic.MPoly{Oscar.QabModule.QabElem}},MPolyIdeal{AbstractAlgebra.Generic.MPoly{Oscar.QabModule.QabElem}}},1}:
(ideal generated by: x1 + -1 in Q(z_1)*x2, x1^3 + -1 in Q(z_1), x2^2*x3 + -1 in Q(z_1)*x3, x3, x2 + -z_3 in Q(z_3), x1 + -z_3 in Q(z_3), ideal generated by: x1*x2^2 + -1 in Q(z_1), x2 + -z_3 in Q(z_3), x3)
(ideal generated by: x1 + -1 in Q(z_1)*x2, x1^3 + -1 in Q(z_1), x2^2*x3 + -1 in Q(z_1)*x3, x3, x2 + (z_3 + 1 in Q(z_3)), x1 + (z_3 + 1 in Q(z_3)), ideal generated by: x1*x2^2 + -1 in Q(z_1), x2 + (z_3 + 1 in Q(z_3)), x3)
(ideal generated by: x2 + -1 in Q(z_1), x1 + -1 in Q(z_1), x1*x2 + -1 in Q(z_1), ideal generated by: x2 + -1 in Q(z_1), x1 + -1 in Q(z_1), x1*x2 + -1 in Q(z_1))
Two questions to start a discussion:
1) Isn't -1 in Q(z_1) just -1?
Yes (and no):
mathematically it is -1
Juliawise it is not fmpz, nor fmpq, but a QabElem (or so)
2) Can I print (z_3 + 1 in Q(z_3)) by introducing a greek letter such as \zeta_3: (\zeta_3+1)
Yes (and no):
we've decided to not use anyhting but normal (ancient) 7-bit ascii in
our programming - to have maximal flexibility in tools (and not run
into wierd codeoage problems when s.o. is using the wrong editor/ tool)
Bu it would be easy to print greek.
Question: z_9^3: should this magically become z_3 in printing?
…
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#552
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Writing elements of the abelian closure of QQ looks horrible:
Two questions to start a discussion:
The text was updated successfully, but these errors were encountered: