[sage-support] simplification of symbolic expressions

2013-11-22 Thread John Cremona
I am having difficulty in simplifying certain symbolc expressions in Sage. As I do not have much experience with this side of Sage it is possible that there are some tricks I am missing. Here are two examples: 1. It is a fact that if a^2+b^2=1 then arcsin(a)+arcsin(b)=pi/2, but how can I get

Re: [sage-support] Bug in polynomia roots in Qp()

2013-11-22 Thread Jeroen Demeyer
The patch at http://trac.sagemath.org/ticket/15422 is now ready for review. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-support] Is it normal to get negative canonical height of a point on EC over NF ?

2013-11-22 Thread Peter Bruin
The problem is indeed fixed by applying #13951 (which still needs reviewing). Peter Op vrijdag 8 november 2013 17:35:01 UTC schreef John Cremona: On 8 November 2013 16:11, Georgi Guninski guni...@guninski.comjavascript: wrote: I am not an expert, but is it normal to get negative

[sage-support] Re: Calling gp.F(n) in a loop about 2^16 times raises exception

2013-11-22 Thread Peter Bruin
The results of all GP command are stored in an array named 'sage' inside GP. If you execute too many commands, this array apparently isn't enlarged anymore. I suspect that this is because GP runs out of stack space and that Sage's GP interface does not notice this. I don't see a quick and

[sage-support] Re: Calling gp.F(n) in a loop about 2^16 times raises exception

2013-11-22 Thread Nils Bruin
On Friday, November 22, 2013 10:26:52 AM UTC-8, Peter Bruin wrote: The results of all GP command are stored in an array named 'sage' inside GP. If you execute too many commands, this array apparently isn't enlarged anymore. I suspect that this is because GP runs out of stack space and

[sage-support] Re: Calling gp.F(n) in a loop about 2^16 times raises exception

2013-11-22 Thread Peter Bruin
Op vrijdag 22 november 2013 18:48:27 UTC schreef Nils Bruin: On Friday, November 22, 2013 10:26:52 AM UTC-8, Peter Bruin wrote: The results of all GP command are stored in an array named 'sage' inside GP. If you execute too many commands, this array apparently isn't enlarged anymore. I

[sage-support] Re: Calling gp.F(n) in a loop about 2^16 times raises exception

2013-11-22 Thread Peter Bruin
To partially solve the above bug, we should make sure doubling of the sage array works when an allocatemem() has to be done; this seems to be broken, and I just opened a ticket for it (#15446). It is only a partial fix because doing GP calculations still leaks memory. I also opened

Re: [sage-support] Is it normal to get negative canonical height of a point on EC over NF ?

2013-11-22 Thread John Cremona
On 22 November 2013 17:46, Peter Bruin pjbr...@gmail.com wrote: The problem is indeed fixed by applying #13951 (which still needs reviewing). As Peter and I are both already authors and reviewers of the patcheson that ticket, we should probably find a third party to finish the review. John

Re: [sage-support] Is it normal to get negative canonical height of a point on EC over NF ?

2013-11-22 Thread Jeroen Demeyer
On 2013-11-22 20:52, John Cremona wrote: On 22 November 2013 17:46, Peter Bruin pjbr...@gmail.com wrote: The problem is indeed fixed by applying #13951 (which still needs reviewing). As Peter and I are both already authors and reviewers of the patcheson that ticket, we should probably find a