I think this is bug:

p=2**61-1;Kp=GF(p);g=Kp(3);X=p//3;a=g**X
dl=discrete_log(a,g,bounds=(1,p.isqrt()),algorithm="lambda",operation="*")
dl2=discrete_log(a,g,bounds=(1,p),algorithm="lambda",operation="*")
(g**dl==a,g**dl2==a)

#(False, True)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAGUWgD_OQOY_Ax6AZiyL7tPa882r_0UYu_5pMPiXiPq_xX8tOw%40mail.gmail.com.

Reply via email to