Skip to content

Upgrade of p_group_cohomology spkg #18514

@simon-king-jena

Description

@simon-king-jena

In the past, p_group_cohomology-2.1.4 was an optional spkg. Sage dropped support for old style spkgs, and thus only an experimental spkg remained.

The purpose of this ticket is to provide a new group cohomology package for Sage. I suggest to make it optional (not experimental).

In the experimental version 2.1.5, I have improved the computation of Poincaré series, depth and filter degree type (the latter now uses a Hilbert-driven computation of Gröbner bases in elimination order, which works since in that setting the Hilbert function is easily available), and I added new functionality related with nilpotency.

Package structure

Version 3.0 is refactored as follows:

  • It depends on the optional meataxe package (see Turn MeatAxe into a dynamic library #24359), which is based on a fork of MeatAxe.
  • The spkg-install script first tests whether the SmallGroups library is installed in GAP. If it isn't, a warning is printed; however, the package still gets installed, as it only is a runtime dependency.
  • The C code written by David Green has become an autotoolized shared library.
  • Gap and Singular code is put into SAGE_SHARE/, where GAP and Singular libraries belong.
  • The rest of the package is formed by python and cython code, and uses pip for installation.
  • The documentation is built in an improved way.

Further changes

  • The custom logging in the old spkg is replaced by Python's logging module.
  • The tests avoid side-effects by using a reset function. Hence, no custom doc tester is needed: sage -t is enough.
  • In the previous spkg, I tried to be as backward compatible as possible. But now I'm dropping support for very old Singular versions.
  • Some experimental options for the cohomology computation are removed.

Many tests have changed, since the ring presentations of the computed cohomology rings, specifically for non-primepower groups, have changed. I do not fully understand why they changed. but it seems that it is a consequence of changes in Singular. The changes did (of course...) not affect the isomorphism types of the rings.

Upstream tar ball

https://users.fmi.uni-jena.de/cohomology/p_group_cohomology-3.0.tar.xz

Upstream: None of the above - read trac for reasoning.

CC: @jhpalmieri @vbraun @jdemeyer @haraldschilly @frederichan-IMJPRG [email protected]

Component: packages: optional

Keywords: group cohomology

Author: Simon King

Branch: 6576915

Reviewer: Travis Scrimshaw, Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/18514

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions