Re: [sage-nt] Re: [sage-support] AssertionError when finding roots over the Real Algebraic Field

2021-09-22 Thread John Cremona
More generally uf all the coefficients can be coerced into AA then the roots in QQbar not in AA come in pairs. On Wed, 22 Sep 2021, 09:23 Dima Pasechnik, wrote: > > > On Wed, Sep 22, 2021 at 9:19 AM Dima Pasechnik wrote: > >> >> >> On Wed, Sep 22, 2021 at 8:10 AM Tracy Hall wrote: >> >>> I

Re: [sage-support] AssertionError when finding roots over the Real Algebraic Field

2021-09-22 Thread Dima Pasechnik
On Wed, Sep 22, 2021 at 8:10 AM Tracy Hall wrote: > I ran into an assertion error when trying to return a sorted list whose > key was a certain linear combination of eigenvalues of the Laplacian matrix > over graphs on nine vertices. Digging into it a bit, the failure happened > when comparing

Re: [sage-support] AssertionError when finding roots over the Real Algebraic Field

2021-09-22 Thread Dima Pasechnik
On Wed, Sep 22, 2021 at 9:19 AM Dima Pasechnik wrote: > > > On Wed, Sep 22, 2021 at 8:10 AM Tracy Hall wrote: > >> I ran into an assertion error when trying to return a sorted list whose >> key was a certain linear combination of eigenvalues of the Laplacian matrix >> over graphs on nine

[sage-support] AssertionError when finding roots over the Real Algebraic Field

2021-09-22 Thread Tracy Hall
I ran into an assertion error when trying to return a sorted list whose key was a certain linear combination of eigenvalues of the Laplacian matrix over graphs on nine vertices. Digging into it a bit, the failure happened when comparing an algebraic real number against the same number that was

Fwd: [sage-support] Sage 9.3 for Windows crashing

2021-09-22 Thread William Stein
-- Forwarded message - From: Fernando Q. Gouvea Date: Wed, Sep 22, 2021 at 12:26 PM Subject: Re: [sage-support] Sage 9.3 for Windows crashing To: William Stein At this point, only plotting has caused the problem. For example: sage: K=Qp(7) sage: K 7-adic Field with capped

Re: Fwd: [sage-support] Sage 9.3 for Windows crashing

2021-09-22 Thread Fernando Gouvea
Update: the problem is machine-dependent. On one Dell laptop, plot works with no problem. On a different one, big crash. Fernando On 9/22/2021 3:49 PM, William Stein wrote: -- Forwarded message - From: Fernando Q. Gouvea Date: Wed, Sep 22, 2021 at 12:26 PM Subject: Re:

[sage-support] Sage 9.3 for Windows crashing

2021-09-22 Thread Fernando Q. Gouvea
I just had SageMath 9.2 crash, so I tried installing 9.3. Alas, I get the same problem. The offending command is pretty innocuous: sage: plot(ln(1+x),(-1,5)) The Sage window then crashes. In the notebook I get a message that the kernel just died. Running it in the Sage Terminal, sage crashes

Re: [sage-support] Sage 9.3 for Windows crashing

2021-09-22 Thread William Stein
On Wed, Sep 22, 2021 at 11:36 AM Fernando Q. Gouvea wrote: > > I just had SageMath 9.2 crash, so I tried installing 9.3. Alas, I get the > same problem. The offending command is pretty innocuous: > > sage: plot(ln(1+x),(-1,5)) > > The Sage window then crashes. In the notebook I get a message

Re: [sage-support] AssertionError when finding roots over the Real Algebraic Field

2021-09-22 Thread Tracy Hall
I wondered whether the not-obviously-real output of roots(QQbar) were related to the cause of the but, too, but I have seen other polynomials with all real roots for which roots(QQbar) gives one or several roots that instead of showing as exactly real are displayed with an imaginary part that