> On Jul 5, 2022, at 07:00 , Debanjana <
tul...@gmail.com> wrote:
>
> sage: E = EllipticCurve('11a1')
> sage: P = E.heegner_point(-7)
> sage: t = P.point_exact()
> sage: t.domain()
> Spectrum of Number Field in a with defining polynomial x^2 + x + 20
> sage: t.domain().base_ring().discriminant()
> -79
>
> The answer should be -7 but Sage gives -79
I think what you are doing with this line:
t.domain().base_ring().discriminant()
is computing the discriminant of the base ring of t, i.e., the quadratic field associated to the curve E.
This gives you what you want:
P.discriminant()
(i.e., -7).
HTH
Justin
--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's income
-----------
--
They said it couldn't be done, but sometimes,
it doesn't work out that way.
- Casey Stengel
--