Next: Language and System Features
Up: MAGMA
Release Notes for Magma V2.25
November 2019
This document provides a terse summary of the new features included
in Magma version V2.25 (released November 2019). It is in two parts,
the first part being a concise listing of the more noteworthy new
features while the much longer second part gives details of all new
features together with other changes that appear in V2.25 for the
first time. The second part also notes a few of the significant bugs
that have been fixed in the past 12 months. It is far from complete
and a reader wishing to get a full listing of bugs fixed in the past
12 months should consult the patch release change log for V2.24-x.
Part 1: Summary of New Features in Magma V2.25
Language and System
- New Type for I/O Objects
- Important: All I/O objects (currently files, pipes, and sockets)
now have type IO. Existing package code that uses the old
File type will need to be changed.
- Serialisation
- It is now possible to write or read some basic types of Magma objects
using a binary format instead of a textual representation. The relevant
intrinsics are WriteObject and ReadObject. These allow
Magma objects to be directly written to or read from an I/O object
(file, pipe, or socket).
This has advantages of using less space for large objects, of not requiring
parsing the text format, and of avoiding issues of partial data -- an object
is either read in its entirety or not at all.
In this initial release the supported objects that can be transmitted
include integers, rationals, reals, complexes, booleans, strings,
finite field elements, polynomials (univariate and multivariate),
sequences, sets, indexed sets, multisets, tuples, lists, records,
matrices, vectors, lattices, permutations, number field elements,
and all the associated parent structures of these. Support for the
transmission of more types will be added in patch releases
as part of an ongoing project.
A separate document detailing the object transmission format and
protocol is also provided, and will be updated as new types are
supported. The hope is that this will facilitate interaction between Magma
and other (possibly bespoke) computational software.
- Asynchronous I/O
- Asynchronous I/O facilities have been added which enable I/O requests
to be queued without needing to wait for them to complete.
This greatly simplifies writing distributed parallel code, particularly
in conjunction with the ability to write or read entire objects as
mentioned above.
- Dual Iterators
- Iteration through aggregate types that have an indexing operation now
also supports a dyadic form which allows both the index and value to be
specified in the iteration.
This allows a much more natural way of expressing the loop when both
index and value are wanted.
Aggregates that provide dual iterators are sequences, indexed sets,
associative arrays, tuples, lists, and multisets (where the index and
value are taken to be the element in the base set and the multiplicity,
respectively).
- Timing With Multi-threaded Algorithms
- The behaviour of the time and vtime statements has
been modified in the case that a multi-threaded algorithm is used
and a new intrinsic function Time has been added which is useful
if a multi-threaded algorithm is used; see the details in
Subsec. 1.2 below.
The Magma Handbook
A number of changes have been made to the Handbook for Magma V2.25.
The intention is to make the most sought-after information easier to
locate and information generally more accessible.
- A new introductory chapter
``Introduction to Finitely-Presented Groups''
has been prepared.
This is a much shorter (50 pages) treatment of the material
in the two chapters covering finitely-presented groups.
The introductory chapter presents basic descriptions of all
the main intrinsics but omits those that are only occasionally
used.
- The existing material in the chapter ``Finitely Presented Groups"
has been reorganised in a way that hopefully makes things easier
to find. Also, the material from ``Finitely Presented
Groups: Advanced" has been integrated into the revised chapter.
The general idea is that the Introduction will provide most
necessary information while this chapter will be the reference
when deeper information about a topic is needed.
- A new chapter ``Free Groups'' has been created, bringing
together the information for free groups that was formerly
spread across the two finitely-presented group chapters.
- The material on hyperbolic groups has been moved to the
chapter ``Automatic Groups''.
- A new chapter called ``Modules over Algebras and Group
Representations'' has been formed from the material in
chapters ``Modules over Algebras" and ``K[G]
-Modules and Group
Representations''. The material has been extensively revised to
bring it up to date and also to make it slightly more accessible.
In particular, the intrinsics that apply to modules over number
fields have been identified. Further improvements to this chapter
are planned.
Algebraic Geometry
- Curves
- A new intrinsic is provided which computes the delta adjustment for a
singular point on a curve.
i.e., the amount that the singularity contributes to the excess of the
arithmetic genus of the singular model of the curve over the genus of the
normalisation.
This is used in the implementation of an alternative algorithm for computing
the genus of a curve which is sometimes much faster than
the standard genus algorithm.
- Surfaces
- A significant amount of functionality that was either available only for
surfaces with simple singularities or, in some cases, with general
singularities but lying in P3
has been extended to all surfaces
with general singularities in P3
or arbitrary point-singularities
in Pn
, n4
. This includes a number of invariants such as
KodairaDimension and KodairaEnriquesType.
- For ordinary projective surfaces with only point singularities, the
calculation of the intersection numbers of strict transforms of
effective divisors on the blow-up desingularisation is now available.
- The computation of explicit bases of holomorphic 2
-forms or n
-pluricanonical
forms has been implemented. For n2
this works for any ordinary
projective surface with only point singularities. Additionally, general
adjoint maps given by HomAdjoints and CanonicalIntersection
for the strict transforms of divisors has been extended from hypersurfaces to
general ordinary projective surfaces (with the singularity restriction).
The divisor of a ``base'' meromorphic 2
-form is also computed.
- The computation of all (-1)-curves (including Galois-conjugate sets of such)
for ordinary projective surfaces with only point singularities of Kodaira
dimension 0
(i.e., not rational or birationally ruled) has been
implemented.
- Introduction of a dual resolution graph to make explicit the
configuration of irreducible blow-up components over a singular point in the
blow-up desingularisation. This also provides additional technical information
about the blow-up components and their intersections and there is a minimal
version to compute the graph of the minimal desingularisation (when (-1)-curves
above the singularity are removed). There are also intrinsics to count the
number of points or compute the zeta-function of the reduced divisor lying
over the singular point when the surface is defined over a finite field. These
are very useful for point-counting on the entire desingularised surface.
- A package of (initial) functionality for working with degree-2 K3 surfaces,
given as double covers of the projective plane ramified over a sextic in
P(1, 1, 1, 3)
weighted projective space is included. This concentrates
on finding divisors, Neron-Severi group computations and finding elliptic
fibrations of the surface. It has the following functionality:
- Intrinsics for finding (-2)-curves on the surface by
computing the lines and conics in the plane that split in the cover.
- An intrinsic to compute the full intersection matrix
of the strict transforms of a given collection of effective divisors on
the surface along with the blow-up (-2)-curves over the (simple) singular
points of the ramification sextic.
- For elliptic fibrations there is a suite of intrinsics to compute the
following:
- Configuration data for all distinct elliptic fibrations with a
bad fibre supported on a given set of (-2)-curves (including blow-up ones).
- The explicit fibration map for any of these configurations.
- A model of the genus 1 generic fibre of a given fibration along
with the points on it corresponding to given sections.
Arithmetic Geometry
- Plane curves
- A package for the minimization and reduction of plane curves over the
rationals, recently developed by A. S. Elsenhans and M. Stoll, has been
included in Magma.
- Elliptic Curves Over
Q
- The Cremona database of all elliptic curves of small conductor has been updated to
include all conductors up to 499,999. In this update curves with conductors in the range
400000 to 500000 have been added thereby introducing an additional 581,056 curves in
423,257 isogeny classes.
- Modular Forms
- Major improvements have been made to the computation of newforms of cuspidal
subspaces. For example, compared with Magma V2.24, the evaluation of the
expression Newforms(CuspForms(2275, 4)) is about 50 times faster.
- Even greater improvements have been made for computing newforms of cuspidal
subspaces twisted by a Dirichlet character. For example, compared
with V2.24, the statement
Newforms(CuspForms(G.1^2, 2)) where G := FullDirichletGroup(N);
is now about 670 times faster for N = 139
, and
about 1960 times faster for N = 163
.
- The setting up of an absolute number field and the application of
the appropriate isomorphism (when needed) to compute q
-expansions
has been greatly improved. For example, the printing of
the newforms which are returned by
Newforms(CuspForms(FullDirichletGroup(81).1^2, 2));
(which involves the computation of q
-expansions)
is now about 110 times faster than for V2.24.
- Riemann Surfaces
- A package for Riemann surfaces defined by either an affine equation
f (x, y) = 0
or an equation of a superelliptic curve has been implemented
by C. Neurohr.
- Basic information such as genus, big period matrix, small period matrix,
discriminant points, branch points, ramification points, singular points
and fundamental group can be computed.
- The main focus is on approximating period matrices and the Abel-Jacobi
map of divisors of the Riemann surface X
to the Jacobian of X
using
numerical integration. Working with a precision of one hundred decimal
digits is practical in the general case and several thousand digits in
the superelliptic case.
Arithmetic Fields
- Algebraic Number and Function Fields
- In 1999, J. Montes introduced a new computational representation, the
OM representation, for prime ideals in Dedekind domains. This
is the basis of a new approach for computing with fractional ideals in
Dedekind domains. This approach has been applied to ideal computations
in both number fields and algebraic function fields. This can
lead to dramatic speeds ups in the computation of maximal orders and
the factorisation of ideals in number fields. In the case of function
fields it leads to speed-ups, for example, in the computation of genus,
the (finite) maximal order and Riemann-Roch spaces.
A Magma package implementing the Montes approach for both number fields
and function fields has been developed by Jens-Dietrich Bauch and parts
of it are exported for the first time in this release.
- Galois Groups
- A major improvement has been made to the computation of Galois groups
by A. S. Elsenhans in the case in which we have a large degree number
field having a medium size subfield. The improvement applies to fields
of degree greater than 30. For example, computing the Galois group
of degree 96 fields having a subfield of degree 16 is possible for
the first time.
Basic Rings and Fields
- Integer Ring
- In 64-bit mode, a large integer may now have up to 269
bits
(the previous limit was up to 237
bits).
This also allows multiplication
of higher degree univariate polynomials (over the integers and integer
residue rings, etc.) than was previously possible.
- Polynomial Rings
- The general factorisation algorithm for univariate polynomials over
Z
or
Q
has been greatly sped up for several types of input, by
optimising various stages of the algorithm.
- The Trager factorisation algorithm for univariate polynomials over
an algebraic number field
K = Q()
has been greatly sped up for
several types of input, by optimising various stages of the algorithm.
- The Brent-Kung algorithm for modular evaluation has been significantly
sped up for polynomials defined over large prime finite fields. As a
result, the algorithm for factoring polynomials over large prime finite
fields is now significantly faster.
- The modular GCD algorithm for univariate polynomials over an
algebraic number field
K = Q()
greatly sped up for several
types of input.
- The squarefree factorisation algorithm has been improved for
larger characteristic p
fields. This can also speed up the
initial squarefree phase of the general factorisation algorithm
over such fields.
Commutative Algebra
- Gröbner Bases
- The dense F4
Gröbner basis algorithm now has multithreading support
(based on multithreading support for the underlying linear algebra) for
dense ideals defined over the field
GF(p)
for prime
p 223.5 = 11863283
.
- Ideal Arithmetic
- The algorithm to compute the radical of a positive-dimensional
ideal has been greatly improved for certain classes of inputs.
Group Theory
- Finitely-Presented Groups
- An intrinsic has been implemented for constructing the automorphism
group of a free group by Derek Holt and others.
- The test for a finitely presented group being hyperbolic has been
expanded to return and apply a Dehn algorithm.
- The code that searches for simple quotients of a finitely presented
group has been expanded from an index limit of 105
to an index limit
of 106
.
- Permutation Groups
- A canonical form for a permutation group is now available.
- Matrix Groups
- A substantial update to the Composition Tree package is included. This
incorporates constructive recognition code for the families of finite
exceptional groups of rank at least 2, and so it also extends the range of
various LMG functions for large matrix groups to include groups with such
composition factors. The Composition Tree code is developed and maintained
by Henrik Baarnhielm and Eamonn O'Brien.
- The short presentations of Leedham-Green and O'Brien for classical
groups on their standard generators are now available, and are used in the
verification of composition trees for matrix groups.
- A package developed by Bettina Eick, Tommy Hofmann and Eamonn O'Brien
for testing conjugacy of elements in
GL(n,Z)
has been developed. The
centraliser of an element of
GL(n,Z)
can also be computed.
- The machinery for computing complements of a normal subgroup in a
permutation group has been extended to complements of a normal subgroup
in a finite matrix group.
- An efficient algorithm for computing the order of a matrix having
entries in the ring
Z/nZ
, for any positive integer n
, has been
implemented. (Previously a naive brute force search algorithm was used.)
- Classical Groups
- Maximal subgroups and automorphism groups have been installed for the
following classical groups and their almost simple extensions: L8(3)
,
L9(3)
, U5(4)
, U6(3)
, S14(2)
,
O+14(2)
and
O-14(2)
.
- The short presentations of Leedham-Green and O'Brien for classical groups on
their standard generators are now generally available.
- Exceptional Groups
- Constructive recognition for the families of final exceptional
groups of rank at least 2 is now available. Standard generator are constructed
using the algorithms of Liebeck and O'Brien; algorithms of Cohen, Murray and
Taylor are used to write elements of the exceptional group as words in these
standard generators; presentations on these standard generators are also available.
The code was prepared by Eamonn O'Brien and Don Taylor. Equivalent machinery
for the remaining families of exceptional groups was already available.
- Maximal subgroups and automorphism groups have been installed for the
exceptional groups F4(2)
and Ree(27) and their almost simple extensions.
- Sporadic Groups
- Maximalsubgroups and automorphism groups have been installed for the
sporadic simple groups HN
and Fi23
and their almost simple
extensions.
Lattices and Quadratic Forms
- Lattices
- Vector enumeration has been parallelised using pthreads.
The speed-up achieved is close to linear in the number of cores
used.
- Various lattice functions involving integral lattices (such as
enumeration) now use information about the evenness of a lattice
when applicable.
Lie Theory
The following functionality has been added for simply connected finite
groups of simple Lie type by Don Taylor. In particular, the row reduction
algorithm has been implemented for twisted groups of types
3D4
and
2E6
.
- Curtis-Steinberg-Tits Presentations
- Matrix generators (in a given highest weight representation), which satisfy
the Curtis-Steinberg-Tits (CST) relations are available for finite
untwisted groups and twisted groups of types
2An
(n
odd),
2Dn
,
3D4
and
2E6
.
- It can be verified whether a collection of matrices satisfies the CST
relations for a specified group of Lie type.
- Given matrices which satisfy the CST relations for a simply connected finite
group G
of Lie type, the homomorphism from G
to the matrix group can be
constructed. This extends existing code which was available only for a
limited number of representations.
- Representation Theory
- The highest weight and a maximal vector can be computed for each highest
weight representation.
- The contravariant form of a highest weight representation of a
finite group of Lie type is available.
- The Chevalley normal form of a matrix in the image of a representation
of a finite group of Lie type can now be found for all twisted types (except
type
2A2n
) and all irreducible representations. This machinery
extends existing ``row reduction'' functionality for untwisted groups and can
be used to determine whether a matrix is in the image of the representation.
- Combined with group recognition work of Eamonn O'Brien, the row reduction
machinery can be used to construct a (projective) isomorphism from a simple
matrix group of Lie type to a standard copy.
Linear Algebra
- Linear Algebra Over Finite Fields
- Multithreading is now supported for the multiplication of large matrices
over the field
GF(p)
for prime
p 223.5 = 11863283
.
- The base algorithm for matrix multiplication in large dimension
has been significantly improved for matrices over
GF(2k)
for k = 2, 3, 4
.
- A major improvement in both time and memory usage has been achieved
for multiplication of large matrices over
GF(q)
where
q = pk, p > 2, k > 1
, and q < 256
.
- Matrix transpose over
GF(q)
for
q = 3, 4, 5, 7, 8
has been significantly
improved (for all matrix sizes).
- Matrix multiplication over
GF(p)
for p = 3, 5, 7
has been significantly
improved (for all matrix sizes) in the AVX version.
- Linear Algebra Over General Rings
- The recursive echelon algorithm has been improved: (1) in the case
where a transformation matrix is required (particularly when the
number of rows is less than the number of columns); and (2) in the
case where the base ring is
GF(q)
for q 7
. This also yields
improvements to the many algorithms which depend on this, including
the computation of the inverse of a matrix.
- The modular algorithm for multiplication of matrices with large
integer entries (including integers in a large residue class ring) has
been significantly sped up, particularly in the case that the size of
the integers is large.
- Improvements have been made in the multiplication, echelonisation and
computation of the the nullspace for matrices with integer or rational
entries.
- Sparse Matrices
- The main sparse Gaussian elimination algorithm has been greatly
improved for very large sparse matrices, in reduction of both
memory usage and time taken. For sparse matrices with at least
one dimension over a million, the improvement can be quite dramatic.
- Even greater reduction in memory and CPU time usage in the main
sparse Gaussian elimination algorithm has been achieved for very
large sparse matrices over
GF(2)
.
Representation Theory
- K[G]
-Modules, K
a Finite Field
- The general modular Meataxe is now significantly faster in general.
In particular, it is much faster in the case in which the resulting
quotient module has large dimension.
- Independently of the Meataxe improvements, the modular spin
algorithm has been sped up.
- A more sophisticated algorithm for computing the Brauer character
of a K[G]
-module has been developed with the result that the
computation for modules having large dimensions is now a great
deal faster.
- K[G]
-Modules, K
a Number Field
- A large number of K[G]
-module intrinsics can now be applied to
K[G]
-modules, where K
is the rational field or a number field.
Routine computation is practical for modules over
Q
for
dimensions at least up to a thousand. In the case of modules over
low degree number fields, computation is practical up to dimension
several hundred.
- A rational Meataxe and a number field Meataxe are available to
split modules. So all of the operations that depend upon the
Meataxe such as endomorphism rings of modules and isomorphism
of modules are available.
- A module can be tested for decomposability and its decomposition
found.
- Irreducible modules can be computed given the character of the
module.
-
(K[G], K[H])
-bimodules
A basic facility for working with bimodules developed by Derek Holt and
Allan Steel is included in this release.
In the Magma implementation,
(K[G], K[H])
-bimodules are regarded as
being equivalent to standard right
K[G x H]
-modules.
Most of the functionality for standard right K[G]
-modules, such as
forming sub- and quotient modules, defining homomorphisms, etc, should
also work for
(K[G], K[H])
-modules, where results are calculated using
the equivalent
K[G x H]
-module. A tensor product intrinsic is
provided as tensor products dont work in this approach to computing
with bimodules.
- Brauer Characters
A suite of intrinsics for computing with Brauer characters has been
installed.
Part 2: Details of Changes and New Features in
Magma V2.25
Next: Language and System Features
Up: MAGMA