I have the following elliptic curves defined over C depending on a parameter a∈C:
E1:y2+xy=x3+ax+a E2:y2+xy=x3+1ax+1a
That translated to code should look like this:
QQbar_a = QQbar['a']
QQbar_a.inject_variables()
print(MyQQbar)
E1 = EllipticCurve(QQbar_a, [1, 0, 0, a, a])
print(E1)
E2 = EllipticCurve(QQbar_a, [1, 0, 0, 1/a, 1/a])
print(E2)
While defining E1 works fine, defining E2 returns the following error:
TypeError: fraction must have unit denominator
I do not understand if the problem is that I have not specified that a≠0 (if so, how can I specify it?) or something else. Do you have any guess?