Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/koffie/mdmagma
22 August 2025, 12:46:07 UTC
  • Code
  • Branches (5)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/heads/patch-1
    • refs/tags/v0.1.0
    • refs/tags/v0.2.0
    • refs/tags/v0.2.1
    No releases to show
  • bb89485
  • /
  • README.md
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:e8a50f4c25da6a77b9762738543b666f987a9ab9
origin badgedirectory badge
swh:1:dir:bb894858b3b0ee7d2837064bb77b2b65d8eb8b42
origin badgerevision badge
swh:1:rev:2de889c2f67d912388d2de0d84e7323a850c8108
origin badgesnapshot badge
swh:1:snp:69a0fcb477f0fe8dbd9256da2f6292c8d8cf7556

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 2de889c2f67d912388d2de0d84e7323a850c8108 authored by Maarten Derickx on 07 July 2025, 00:24:22 UTC
Document X_1(16) classgroup reproduction in README.md
Tip revision: 2de889c
README.md
mdmagma
=======

Magma code for computing with modular curves by Maarten Derickx and Andrew V. Sutherland.

# Requirements

This requires [Andrew V. Sutherlands magma package](https://github.com/AndrewVSutherland/Magma). It is known to work with the version [commit 6a5a68a8c5ba...](https://github.com/AndrewVSutherland/Magma/tree/6a5a68a8c5ba526b707f746d559c8f23cbe641b1), and should also work with later versions.

# Research Papers

The code in this project has been used for the following research papers:

[Gonality of the modular curve X<sub>1</sub>(N)](https://arxiv.org/abs/1307.5719)

[Torsion subgroups of elliptic curves over quintic and sextic number fields](http://arxiv.org/abs/1608.07549)


# Version 2

A version 2 that is more consistent and organized is under development. 
V2 will use intrinsics, user defined types and have automated tests.
This is currently done in the v2 subfolder.

## Using V2

To use V2 run 

```shell
cd v2
magma
```

And then from withing magma run

```magma
AttachSpec("mdmagma.spec");
```

### Dependencies

mdmagma depends on https://github.com/AndrewVSutherland/Magma .
Note that `AttachSpec("mdmagma.spec");` also makes sure that all external dependencies
are attached. If you want to attach the files from mdmagma without also attaching the
dependencies then you need to attach `mdmagma_internal.spec` instead. This is usefull if
you already have the dependencies of mdmagma attached by default or if you are using 
[CHIMP](https://github.com/edgarcosta/CHIMP/). There is no guarantee that mdmagma will
work with dependencies other than those listed by running:

```bash
git submodule
```




## Testing

To run the tests for this repository execute. At the momemnt it is only possible to run the tests from the tests folder. Running them from any other folder will result in an error.

```shell
cd tests
magma -n v2/test_all.m
```

# Copyright

    copyright (C) 2025 Maarten Derickx, Andrew Sutherland
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see [http://www.gnu.org/licenses/].

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API