Opened 2 years ago

Last modified 7 months ago

#24469 new enhancement

Make extracting information about a PARI group less painful

Reported by: slelievre Owned by:
Priority: major Milestone: sage-wishlist
Component: packages: standard Keywords: PARI group, Galois group
Cc: cremona, slelievre Merged in:
Authors: Reviewers:
Report Upstream: Reported upstream. Developers acknowledge bug. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Change History (5)

comment:1 Changed 2 years ago by vdelecroix

I think this should be addressed by upstream cypari2. The point is that GP provides shortcut to access some members

$ gp
? K = bnfinit(x^3 - 2);
? bnf = bnfinit(x^3 - 2);
? bnf.nf     /* = bnf[7] */
%3 = [x^3 - 2, [1, 1], -108, 1, ...]
? bnf.clgp   /* = bnf[8][1] */
%4 = [1, [], []]

(these do not exist in the PARI library). The same shortcuts should be available on the Gen type

sage: K = pari.bnfinit('x^3 - 2')
sage: K.nf
Traceback (most recent call last):
...
AttributeError: 'cypari2.gen.Gen' object has no attribute 'nf'
Last edited 2 years ago by vdelecroix (previous) (diff)

comment:2 Changed 2 years ago by vdelecroix

  • Description modified (diff)
  • Report Upstream changed from N/A to Reported upstream. Developers acknowledge bug.

comment:3 Changed 2 years ago by vdelecroix

  • Component changed from group theory to packages: standard

comment:4 Changed 2 years ago by cremona

The bnf example is not quite relevant here, is it? The components of the Galois group are not currently accessible by such shortcuts (as far as I know).

comment:5 Changed 7 months ago by slelievre

  • Milestone changed from sage-8.2 to sage-wishlist

Change milestone to sage-wishlist for a few tickets whose previous milestone is closed.

Note: See TracTickets for help on using tickets.