Re: [sage-support] linbox bug?

0 views
Skip to first unread message

William Stein

unread,
Jun 15, 2009, 6:52:41 AM6/15/09
to sage-s...@googlegroups.com, Clement Pernet, linbox...@groups.google.com, sagedays16
On Wed, Jun 10, 2009 at 6:03 PM, Yann<yannlaig...@gmail.com> wrote:
>
> ----------------------------------------------------------------------
> | Sage Version 4.0.1, Release Date: 2009-06-06                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> sage: A=matrix(GF(3),2,[0,0,1,2])
> sage: R.<x>=GF(3)[]
> sage: D={ x:0 , x+1:0 , x^2+x:0 }
> sage: for i in range(100000):
> ....:         D[A._minpoly_linbox()]+=1
> ....:
> sage: D
> {x: 38266, x + 1: 29397, x^2 + x: 32337}
>

You're absolutely right! This *sucks* -- it seems like nothing we
have ever wrapped in Linbox is right at first. Hopefully the issue is
that somehow the algorithm is only supposed to be probabilistic, and
we're just misusing it in sage (quite possible).

Anyway, Clement Pernet will be at Sage Days next week, and we'll sort this out.
Many thanks for brining this to our attention!

This is now:

http://trac.sagemath.org/sage_trac/ticket/6296

Reply all
Reply to author
Forward
0 new messages