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

Revision 336e50b389130321cd919d43698070bc42f31364 authored by Maarten Derickx on 04 July 2024, 11:18:40 UTC, committed by Maarten Derickx on 04 July 2024, 11:18:40 UTC
Classgroup of deg 2 points onX_1(16) divisible by 5
1 parent f69d0e0
  • Files
  • Changes
  • 9d6cc4c
  • /
  • computations
  • /
  • derickx-X1_16_classgroups
  • /
  • order_5.m
Raw File Download

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.

  • revision
  • directory
  • content
revision badge
swh:1:rev:336e50b389130321cd919d43698070bc42f31364
directory badge
swh:1:dir:646f23d7c2971b401cab4e619583655b63cc53e7
content badge
swh:1:cnt:f7d33c67bd3ad7721fe87fe178fd3d719efb9021

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.

  • revision
  • directory
  • content
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
order_5.m
load "elliptic_curve_chabauty.m";

_<x>:=PolynomialRing(Integers());
f := x*(x^2+1)*(x^2+2*x-1);
// a model of X_1(16)
C := HyperellipticCurve(f);

FF<x,y> := FunctionField(C);
p1,p2 := Explode(Zeros(x-1)); p1,p2;
tf, h := IsPrincipal(5*(p1-p2));

// h is 0 mod 2 and 3 so we need to divide by 6

print h/6;
//prints
// (-6*x^2 - 4*x + 2)/(x^5 - 5*x^4 + 10*x^3 - 10*x^2 + 5*x - 1)*y + (x^5 + 13*x^4 -
//    2*x^3 + 10*x^2 - 7*x + 1)/(x^5 - 5*x^4 + 10*x^3 - 10*x^2 + 5*x - 1)
// exceptions give quadratic points on the degree 5 cover X -> X_1(16) given by z^5 = (h/6);
// note that t(x,y,z) = (x,-y,z^(-1)) is an automorphism of X, and a quadratic point on
// X with x in Q gives a rational point on X/<t>


//first compute the curve whose rational points we need to find

A3<x,y,z>:=AffineSpace(Rationals(),3);

C := Curve(A3,[y^2-(x*(x^2+1)*(x^2+2*x-1)), z^5*(x^5 - 5*x^4 + 10*x^3 - 10*x^2 + 5*x - 1)-((-6*x^2 - 4*x + 2)*y + x^5 + 13*x^4 - 2*x^3 + 10*x^2 - 7*x + 1)]);

C1 := ProjectiveClosure(C);
G := AutomorphismGroup(C1);
auts := [g : g in Automorphisms(C1) | Order(G ! g) eq 2];
assert #auts eq 1;

// t = auts[1]
// C2 = X/<t>, we need to find the points on this curve
C2 := CurveQuotient(AutomorphismGroup(C1, [G ! auts[1]]));

print C2;
//  prints: 
//      Hyperelliptic Curve defined by y^2 = x^6 - x^5 + 5*x^3 - x + 1 over Rational Field

//  now for the determination of the points

_<x> :=PolynomialRing(Integers());
f := x^6 - x^5 + 5*x^3 - x + 1;
// Uncomment the following line if you want to skip computing C2.
C2 := HyperellipticCurve(f);
L1 :=  NumberField(x^3 - x^2 + 2*x + 2);
g := [pe[1] : pe in Factorization(ChangeRing(f,L1)) |  Degree(pe[1]) eq 4][1];


time Hk , AtoHk, expvecs, factorbase := TwoCoverDescent(C2: Raw:=true);
  
// Get the map that allows us to construct covers explicitly as elements in an algebra A
HktoA := createHktoA(AtoHk, expvecs, factorbase);

Hk := Setseq(Hk);
points := {@ @};
hk_info := [* *];
for i in [1..#Hk] do
  hk := Hk[i];
  print "doing hk", i, hk;
  assert AtoHk(HktoA(hk)) eq hk;
  
  success, gamma_g, new_points, message := EllipticChabauty(C2, g, hk, HktoA);
  print "chabauty result", success, gamma_g, new_points, message;

  if success then
    points := points join new_points;
    continue;
  end if;

  Append(~hk_info,<gamma_g,message>);
  if not success then
    print "=============================== failed ======================";
    print hk, i, #Hk;
    print hk_info;
    break;
  end if;
end for;

print "====================== found points: ====================";
print points;

The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, 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