SAGE

News:

24 October 2020: SageMath 9.2 is out and includes new features regarding manifolds (changelog) (download)

20 May 2020: SageMath 9.1 is out and includes new features regarding manifolds (changelog) (download)

1 January 2020: SageMath 9.0 is out; it is based on Python 3 and includes new features regarding manifolds (changelog) (download)

Older news

SageManifolds project

The SageManifolds project aims at extending the modern Python-based computer algebra system SageMath towards differential geometry and tensor calculus. All SageManifolds code is included in SageMath, i.e. it does not require any separate installation.

SageManifolds deals with differentiable manifolds of arbitrary dimension. Various coordinate charts and vector frames can be introduced on the manifold, which does not need to be parallelizable. A given tensor field is then described by its sets of components in each vector frame, with automatic change-of-frame transformations for overlapping vector frames.

Generic pseudo-Riemannian manifolds can be considered, among which Riemannian manifolds and Lorentzian manifolds, with applications to General Relativity. In particular, the computation of the Riemann curvature tensor and associated tensors (Ricci, Weyl, Schouten and Cotton tensors) is implemented. SageManifolds can also deal with generic affine connections, not necessarily Levi-Civita ones.

At present (SageMath 9.2), the functionalities include:

  • topological manifolds: charts, open subsets, maps between manifolds, scalar fields
  • differentiable manifolds: tangent spaces, vector frames, tensor fields, curves, pullback and pushforward operators
  • vector bundles
  • standard tensor calculus (tensor product, contraction, symmetrization, etc.), even on non-parallelizable manifolds
  • all monoterm tensor symmetries
  • p-forms (exterior product, interior product with p-vectors, exterior derivative, Hodge duality)
  • p-vectors (exterior product, interior product with p-forms, Schouten-Nijenhuis bracket)
  • mixed differential forms
  • Lie derivatives of tensor fields
  • series expansion of tensor fields
  • affine connections (curvature, torsion)
  • pseudo-Riemannian metrics
  • computation of geodesics
  • some plotting capabilities (charts, points, curves, vector fields)
  • submanifolds and their extrinsic geometry
  • nilpotent Lie groups

For an overview, see the tutorial or the example notebooks. To stay tuned, subscribe to the mailing list.

Open and free software

As part of SageMath, all SageManifolds code is free and open source; it is released under the GNU General Public License. To download it, see here.

SageManifolds is developed by these authors.

If you want to take part in the project, visit the contribute page, or if you simply want to stay tuned, subscribe to the mailing list.