Changeset 2834:4eed73fe6f31
Legend:
- Unmodified
- Added
- Removed
-
sage/schemes/elliptic_curves/ell_rational_field.py
r2822 r2834 3197 3197 misc.verbose("index = %s"%ind) 3198 3198 # Compute upper bound on square root of index. 3199 if ind. length() < 1:3199 if ind.absolute_diameter() < 1: 3200 3200 t, i = ind.is_int() 3201 3201 if t: # unique integer in interval, so we've found exact index squared. … … 3224 3224 ignore_nonsurj_hypothesis=False): 3225 3225 """ 3226 Given a fundamental discriminant D ( =-3,-4) that satisfies the3226 Given a fundamental discriminant D (!= -3,-4) that satisfies the 3227 3227 Heegner hypothesis, return a list of primes so that 3228 3228 Kolyvagin's theorem (as in Gross's paper) implies that any … … 3277 3277 correct up to addition or a real number with absolute 3278 3278 value less than $10^{-10}$. 3279 3280 EXAMPLES: 3281 sage: E = EllipticCurve('37a') 3282 sage: E.shabound_kolyvagin() 3283 ([2], 1) 3284 sage: E = EllipticCurve('141a') 3285 sage: E.sha_an() 3286 1 3287 sage: E.shabound_kolyvagin() 3288 ([2, 7], 49) 3289 3290 We get no information the curve has rank $2$. 3291 sage: E = EllipticCurve('389a') 3292 sage: E.shabound_kolyvagin() 3293 (0, 0) 3294 sage: E = EllipticCurve('681b') 3295 sage: E.sha_an() 3296 9 3297 sage: E.shabound_kolyvagin() 3298 ([2, 3], 9) 3299 3279 3300 """ 3280 3301 if self.has_cm(): … … 3341 3362 if t: 3342 3363 break 3343 elif I. length() < 1:3364 elif I.absolute_diameter() < 1: 3344 3365 raise RuntimeError, "Problem in shabound_kolyvagin; square of index is not an integer -- D=%s, I=%s."%(D,I) 3345 3366 misc.verbose("Doubling bounds")
Note: See TracChangeset
for help on using the changeset viewer.
