Ask Your Question
0

Factor base of class group computation

asked 2015-04-30 20:39:15 -0500

JM gravatar image

updated 2015-07-31 10:52:51 -0500

FrédéricC gravatar image

After calculating the class group using SAGE's .class_group() functionality, is there any way to find out the internal details of the calculation such as the factor base of prime ideals that was used, similar to the output given by PARI's bnfinit command? Or is the only way to just do the class group calculation by calling PARI's bnfinit command directly?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2015-05-02 11:47:09 -0500

Francis Clarke gravatar image

The following does involve calling PARI's bnfinit. But for a number field K, K.class_group() calls bnfinit, the output of which is cached. The factor base used can be recovered as follows:

sage: K.<a> = NumberField(x^3 - 11)
sage: map(K.ideal, K.pari_bnf()[4])
[Fractional ideal (2, a + 1),
Fractional ideal (5, a - 1),
Fractional ideal (-a + 2),
Fractional ideal (2, a^2 + a + 1),
Fractional ideal (a)]
edit flag offensive delete link more

Comments

Thank you! I didn't know about .pari_bnf(). When I ran gp.bnfinit() on my number field, I got an error (with a warning about the field not being weakly super solvable). But K.pari_bnf() worked like a charm. Thanks!

JM gravatar imageJM ( 2015-05-02 21:24:45 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-04-30 20:39:15 -0500

Seen: 69 times

Last updated: May 02 '15