| Download
Isogeny School exercises
Project: Isogeny School
Path: 2021-06-28-114737.sagews
Views: 689Visibility: Unlisted (only visible to those who know the link)
Image: ubuntu2004Press open to interact with this worksheet.
Once in interactive mode, use the mouse to click or highlight a block. Then use the "run" button on top or "shift + enter" to execute the block.
To make a new block click on one of the horizontal bars. Here you can add Sage code or type in comments.
In the following worksheet we demonstrate how to compute the class group of a quadratic field as well as decompose ideals over a set of generators for the class group.
Number Field in a with defining polynomial x^2 + 1363 with a = 36.91882988394947?*I
True
-1363
49*x^2 + 3*x*y + 7*y^2
7*x^2 - 3*x*y + 49*y^2
True
x^2 + x*y + 341*y^2
23
Q1. What are the ramified primes of K? Why do we not need to consider them when computing the class group?
Q2. What is the ideal class of an inert prime? Why do we not need to consider them when computing the class group?
7*x^2 + 3*x*y + 49*y^2
-1363
Q4. Find the binary quadratic forms f1, f2, ..., fn corresponding to the split prime ideals with norm less than B.
7*x^2 - 3*x*y + 49*y^2
True
Q5. Write a function that generates n random numbers in [-10, 10]. Look for relations of the form f1^x1 * f2^x2 * ... * fn^xn = I = (1, 1, 341).
[1 2 4]
[5 4 1]
[2 4 3]
[5 6 7]
Q6. Construct the matrix with row vectors given by (x1, x2, ..., xn). Continue searching for relations as in Q3 until the matrix has full rank.
[1 2 4]
[0 6 4]
[0 0 5]
([ 1 0 0]
[ 0 1 0]
[ 0 0 30], [ 0 0 1]
[ 0 1 0]
[ 1 -25 -13], [ 3 7 8]
[ -5 -11 -13]
[ 5 10 12])