Computing basis of Riemann Roch space

24 views
Skip to first unread message

chandra chowdhury

unread,
May 13, 2018, 10:32:16 AM5/13/18
to sage-s...@googlegroups.com
I am trying to find the basis of Riemann Roch space. 
But I am getting following error. 

1
33
(x, y - 1) + (x, y + 1) + (x - 2, y - 21) + (x - 3, y - 17) + (x - 3, y
+ 17) + (x - 20, y + 18) + (x + 17, y + 4) + (x + 14, y - 9) + (x + 11,
y + 11) + (x + 8, y + 13) + (x + 7, y + 9)
Traceback (click to the left of this block for traceback)
...
   ? expected intvec-expression. type 'help intvec;'


My code: 

x,y = PolynomialRing(GF(43), 2, 'xy').gens()
X = Curve(x^3 + x+1-y^2)
print X.genus()
pts = X.rational_points(algorithm="bn")
print len(pts)

inds =[0,1,2,4,5,11,15,18,23,27,29]
ninds = [i for i in range(33) if not(i in inds)]
orbit = [pts[i] for i in inds]; 
supp = [ (1, pts[i]) for i in inds]
D = X.divisor(supp)
print D
basis = X.riemann_roch_basis(D)

Kwankyu

unread,
May 14, 2018, 9:56:48 AM5/14/18
to sage-support
Hi,

You may want to look into



Cheers.
Reply all
Reply to author
Forward
0 new messages