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

Printing roots of unity #552

Closed
wdecker opened this issue Jul 9, 2021 · 1 comment · Fixed by #568
Closed

Printing roots of unity #552

wdecker opened this issue Jul 9, 2021 · 1 comment · Fixed by #568

Comments

@wdecker
Copy link
Collaborator

wdecker commented Jul 9, 2021

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?
  2. Can I print (z_3 + 1 in Q(z_3)) by introducing a greek letter such as \zeta_3: (\zeta_3+1)
@fieker
Copy link
Contributor

fieker commented Jul 12, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants