Re: [sage-devel] Use SymEngine as a symbolic mathematics backend for SAGE

2021-01-24 Thread rjf
oose today, >> I would perhaps choose Julia. Not Python, it's much too slow. I don't know >> for Lisp speed, but it's not a language I would choose anyway, I like to >> write e.g. a+b*c when I do algebraic computations in my source code. >> >> >&g

Re: [sage-devel] Use SymEngine as a symbolic mathematics backend for SAGE

2021-01-20 Thread rjf
I think you have to figure that there is a difference in productivity of people who just learned Python in high school and would really like to write a computer algebra system versus people who know more mathematics, are comfortable spending 2 weeks learning lisp, spending ?? (weeks? months?)

Re: [sage-devel] Use SymEngine as a symbolic mathematics backend for SAGE

2021-01-19 Thread rjf
Just a suggestion: if you want to improve the speed of symbolic mathematics as done by Maxima, and you are no longer insisting on the use of Python, why not write in Lisp, and make Maxima faster? On Monday, January 18, 2021 at 6:58:10 AM UTC-8 dim...@gmail.com wrote: > > > On Mon, 18 Jan

Re: [sage-devel] Definite Integral wrong

2020-08-06 Thread rjf
. rootsof(g^2-4,g) is a way of notating {-2,2} in effect, in systems that support something like rootsof. See how far you can push this. Can you take log ( )? RJF On Wednesday, August 5, 2020 at 5:49:45 PM UTC-7, Samuel Lelievre wrote: > > 2020-08-05 18:59:01 UT

Re: [sage-devel] Definite Integral wrong

2020-08-05 Thread rjf
There are two square roots. In this (classic) integration example/bug, a choice has to be made. You know that 4 has two square roots, -2 and 2. The integrand, which also can be rewritten as sqrt ( 4-4*cos(x/2)^2) , has 2 square roots. Therefore there are two potential different values for

[sage-devel] Re: assume() seems to break integrate() in some cases

2020-08-01 Thread rjf
, on the fly) may not work. How to fix? I've mentioned it previously, I assume. Represent the multiplicity of answers. Sqrt(x^2) is a pair, {-x, x}. Log(r^2) is 2 log(r)+2*n*i*pi or something like that.. No one does it. A project for some student? RJF On Thursday, July 23, 2020 at 4:32:14 PM

[sage-devel] Re: assume() seems to break integrate() in some cases

2020-07-29 Thread rjf
complex variables.(source code defint.lisp, limit.lisp) The original versions of the code were written by different people. The assume() code was written by yet another. RJF . On Wednesday, July 29, 2020 at 5:10:56 AM UTC-7, kcrisman wrote: > > > > On Tuesday, July 28, 2020 at 9

[sage-devel] Re: assume() seems to break integrate() in some cases

2020-07-28 Thread rjf
newly generated symbols. RJF On Tuesday, July 28, 2020 at 3:48:19 AM UTC-7, kcrisman wrote: > > You only need domain: complex and assume(a>1) for it to crash, in fact. > > On Tuesday, July 28, 2020 at 12:45:39 AM UTC-4, Nils Bruin wrote: >> >> On Monday, July 27, 20

[sage-devel] Re: assume() seems to break integrate() in some cases

2020-07-27 Thread rjf
In Maxima it works just fine, it doesn't seem to be a Maxima problem. Though assume(t,real) is meaningless, and the syntax for maxima would be integrate(t,t, 0, 4*a-a^2) not integrate(t,0,4*a-a^2). integrate doesn't care if the lower limit is less than the upper limit. On Thursday, July

Re: [sage-devel] Re: Transpiling from Mathematica syntax to sage backends

2020-07-13 Thread rjf
sider a robotic automated vehicle, being approximately right might means it will only rarely crash into a tree. Being right approximately means that it will (always) drive to its destination, give-or-take a short displacement. RJF On Friday, July 10, 2020 at 6:51:15 PM UTC-7, Rocky Bernste

Re: [sage-devel] Re: Transpiling from Mathematica syntax to sage backends

2020-07-10 Thread rjf
ndent bugs -- caused by common simplistic thinking, where mathematics taught in high school is used as the basis for manipulating more sophisticated ideas. Sorry to provide a bit more rain on your parade. Have fun with the easy parts and see how far you can get with the hard parts! RJF On Friday, Jul

[sage-devel] Re: Transpiling from Mathematica syntax to sage backends

2020-07-05 Thread rjf
You could take a look at what Albert Rich has done for testing Rubi in different systems. Also, the theorem proving people using Coq want to match up with CAS. Also, the history of formalizing mathematics (Frege, Russell, etc) may influence your thinking. Maybe discourage you; see the history of

Re: [sage-devel] Re: Transpiling from Mathematica syntax to sage backends

2020-07-04 Thread rjf
ent for an undergrad course in programming languages/ compiling. RJF On Saturday, July 4, 2020 at 12:29:27 PM UTC-7, Nils Bruin wrote: > > On Saturday, July 4, 2020 at 9:10:33 AM UTC-7, Rocky Bernstein wrote: >> >> >> So one goal as briefly mentioned was to be able to wr

[sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-25 Thread rjf
It looks like you have written a recursive descent parser. And a display. If you were running Maxima on a Pi, (see sourceforge for download) you would have a parser and a display without writing it yourself. Just looking at the code briefly, I think you have to decide if you actually meet your

Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-25 Thread rjf
implest interface is to invoke Maxima on some input from a command line. If your task is simple enough. RJF On Sunday, May 24, 2020 at 3:49:18 PM UTC-7, Jonathan wrote: > > Although a good idea, I don't think I can make it simple enough to set up > inside a data acquisition environmen

Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-24 Thread rjf
; ) eq1 : p*V = n*r*t ; eq1/V; returns p = (n*r*t)/V RJF On Friday, May 22, 2020 at 5:47:35 PM UTC-7, Samuel Lelievre wrote: > > Le samedi 23 mai 2020 02:14:58 UTC+2, Dima: > > > > Conda does have Sagemath available. > > Not 100% sure how it works on Windows, though. >

[sage-devel] Re: Tip: easy input of math/unicode symbols

2020-03-07 Thread rjf
Consider the consequences to a parser when there are multiple forms of what appear to be (say) "+" or "space" or "A" (is that a capital alpha?) .. Selecting Greek or other symbols from a palette might be cute. Freeform input of unicode, probably a bag of worm

[sage-devel] Re: Improving `solve`

2020-02-02 Thread rjf
. How does that seem? Thinking about your suggestion of changing "solve", it could, of course be done, but "solve" is such a general term that maybe it should be broken down into other more specific commands. e.g. something involving polynomial-systems and so on. RJF On

Re: [sage-devel] Re: drop python2 compatibility in 9.1 ?

2020-01-06 Thread rjf
just curious when this ends. Python 4 awaits. RJF On Monday, January 6, 2020 at 10:47:29 AM UTC-8, Nils Bruin wrote: > > On Monday, January 6, 2020 at 10:30:23 AM UTC-8, Eric Gourgoulhon wrote: >> >> >> On the other hand, for the end user the major backwards-incompatib

Re: [sage-devel] Re: Machine Learning people apparently built a symbolic integrator

2019-12-27 Thread rjf
afield from the presumed topic of this thread. RJF On Wednesday, December 25, 2019 at 7:54:47 PM UTC-8, Brent W. Baccala wrote: > > > I know the Risch algorithm fairly well. > > I made two screencast videos describing how to use Axiom or Sage to > simplify one of the integrals used

[sage-devel] Re: Machine Learning people apparently built a symbolic integrator

2019-12-18 Thread rjf
See, for example, Rubi, or my earlier project Tilu, for programs that > absorbed, in some sense learning from tables of integrals. This is not classical machine learning, because the objects being learned are patterns. So the result for sin(x)dx works for sin(u)du, as a trivial pattern

[sage-devel] Re: Machine Learning people apparently built a symbolic integrator

2019-12-17 Thread rjf
factor integers fast? Indeed, outside of the 10^8 preset problems, it can't factor anything. What do you think? Is this a fair comparison to the integration program? RJF On Tuesday, December 17, 2019 at 5:03:59 PM UTC-8, Richard_L wrote: > > I was unclear. Davis disagrees with Lample

[sage-devel] Re: Machine Learning people apparently built a symbolic integrator

2019-12-17 Thread rjf
oops, the review is by Davis; the paper is by Lample and Charton, both of Facebook. On Tuesday, December 17, 2019 at 4:21:07 PM UTC-8, rjf wrote: > > disagrees with me? or Emmanuel? > Lample's abstract (of the review) concluded with > > The claim that this outperforms Mathemat

[sage-devel] Re: Machine Learning people apparently built a symbolic integrator

2019-12-17 Thread rjf
disagrees with me? or Emmanuel? Lample's abstract (of the review) concluded with The claim that this outperforms Mathematica on symbolic integration needs to be very much qualified. I glanced at the full review and I don't see that I disagree with it. Generating 80 million randomly generated

Re: [sage-devel] Re: Simple integral raises AttributeError

2019-12-08 Thread rjf
with arctan is nicer that the explicit radical stuff. RJF On Friday, December 6, 2019 at 7:28:40 PM UTC-8, Emmanuel Charpentier wrote: > > Okay. That means that we need > >- a wrapper for RootSum, AND >- a wrapper for Lambda. > > ISTR that Mathematica has a similar

Re: [sage-devel] Request for comments: add a "domain=" option to symbolic integration methods/functions

2019-11-29 Thread rjf
ell) sympy or FriCAS/Axiom or ... Can Sage "do it right" on top of one of these systems? Maybe, but not without a correct design. RJF On Friday, November 29, 2019 at 5:23:45 PM UTC-8, Michael Orlitzky wrote: > > On 11/29/19 7:41 PM, rjf wrote: > > > > Perspecti

Re: [sage-devel] Request for comments: add a "domain=" option to symbolic integration methods/functions

2019-11-29 Thread rjf
ur college catalog and see if you can do the homework problems using Sage.) Sorry for being such a pessimist, but some of us have been there. Regards RJF On Friday, November 29, 2019 at 3:46:59 PM UTC-8, Michael Orlitzky wrote: > > On 11/29/19 2:01 PM, Emmanuel Charpentier wrote: > &g

[sage-devel] Re: Possibly serious bug in a basic ability (interface to Maxima).

2019-11-28 Thread rjf
are still two square roots. sqrt(9) has 2 values. Unless you want to define sqrt as something else. Do you? How about log() in the current example.. RJF On Thursday, November 28, 2019 at 2:15:55 PM UTC-8, rjf wrote: > > I just tried the problem in Maxima 5.40.0 ; the result is correc

[sage-devel] Re: Possibly serious bug in a basic ability (interface to Maxima).

2019-11-28 Thread rjf
I just tried the problem in Maxima 5.40.0 ; the result is correct as I assume Emmanuel also discovered. The "fix" suggested by the poster of Trac#28431 (to divert some class of integral problems to sympy) does not strike me as plausible. Maybe something about Sage parsing of a minus

[sage-devel] Re: Request for comments: Padé approximants

2019-11-12 Thread rjf
Since Maxima is free and open source and gpl, why not just read the algorithm implemented there and rewrite it in Python? RJF \ On Monday, November 11, 2019 at 1:29:56 AM UTC-8, Emmanuel Charpentier wrote: > > Dear Vincent, > > a very quick answer (limbic system level. :-

[sage-devel] Re: SageMath for Windows download counts via GitHub

2019-10-12 Thread rjf
assumes internet connected + email. Of course it is also difficult to judge how many copies are running because some people will continue to run an old version, others will repeatedly load the system to get the latest fixes ... Good luck on trying to count "users" instead of c

[sage-devel] Re: Machine Learning people apparently built a symbolic integrator

2019-10-07 Thread rjf
n the software being made available. RJF On Monday, October 7, 2019 at 8:10:20 AM UTC-7, Martin R wrote: > > >>> Are you saying that FriCAS is the only CAS which doesn't do this? >>> >> >> AFAICT, FriCAS dos this also... >> >> I don't think so - ar

[sage-devel] Re: Machine Learning people apparently built a symbolic integrator

2019-10-06 Thread rjf
because the "test" is not some important standardized suite of integration problems. It is just randomly generated. Maybe it would be fair to call it noise? The author could post the test suite, I suppose. RJF RJF On Tuesday, October 1, 2019 at 11:22:51 PM UTC-7, Emmanuel Char

[sage-devel] Re: Machine Learning people apparently built a symbolic integrator

2019-10-01 Thread rjf
I think that if you read the paper you would not expect it to compete with a CAS except on its made-up artificial testset. RJF On Monday, September 30, 2019 at 10:57:44 AM UTC-4, Martin R wrote: > > Actually, I think it would be even more interesting to compare with > FriCAS, becau

[sage-devel] Re: Education: hints to manual integration

2019-08-19 Thread rjf
pter, since that is not yet allowed, and the grader may take off points from the homework because it is clear that the student did not do the problem him/her self.) RJF On Monday, August 19, 2019 at 4:24:10 AM UTC-7, mmarco wrote: > > I have been working a bit on some functions to help students d

[sage-devel] Re: Automatic Differentiation - Taylor Arithmetics

2019-05-02 Thread rjf
and extendable. RJF On Friday, April 19, 2019 at 5:48:09 AM UTC-7, Nisoli Isaia wrote: > > Dear all, > I was planning in doing a Cython implementation of Forward automatic > differentiation and > Taylor arithmetics as in > https://press.princeton.edu/titles/9488.html > to use t

Re: [sage-devel] Change complex number symbols

2019-04-12 Thread rjf
why not just use j, and tell sage that j^2=-1? Depends on how much of Sage you expect to understand this. (the use of j is common in electrical engineering, for those who have not encountered this before...) RJF On Friday, April 12, 2019 at 1:39:51 AM UTC-7, David Roe wrote: > > Is thi

[sage-devel] Re: bug: factoring symbolic expressions containing exponentials

2019-04-10 Thread rjf
by having exponentials. for example, e^x-1 factors many ways, one being (e^(x/2)-1)*(e^(x/2)+1). RJF On Wednesday, April 10, 2019 at 12:30:42 PM UTC-7, Bill Page wrote: > > sage: sage.version.version > '8.6' > sage: ex=exp(2*x)+exp(-2*x); ex > e^(2*x) + e^(-2*x) > sage: factor(ex

[sage-devel] Re: Adding Turing Machines

2019-04-05 Thread rjf
It seems to me that this is an opportunity for you and your classmates to post your project to GitHub, where people interested in a simulation of Turing machines could look at yours in addition to the 63 others there. Whether it should also be posted somewhere in the world of Sage, it is not

Re: [sage-devel] sage foundation ???

2018-09-22 Thread rjf
alc may be a complication which I hope people have thought about. RJF On Saturday, September 22, 2018 at 1:16:23 PM UTC-7, John H Palmieri wrote: > > That's what this discussion and the wiki page are for, right? Are you > suggesting or asking for something else? > >John > >

Re: [sage-devel] PEP idea: unary division

2018-08-15 Thread rjf
ordinates. " are probably not so dense that they couldn't be taught to use functional/prefix notation so as to avoid conflict with programming language syntax. RJF -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe f

[sage-devel] Re: Improving code with AI?

2018-05-01 Thread rjf
with non-idiomatic and inefficient constructions that might be detected/repaired. It's your choice how to spend your time. Is it worth a try? RJF On Tuesday, May 1, 2018 at 4:36:17 AM UTC-7, Volker Braun wrote: > > First we should add one of the plain old rule-based linters

[sage-devel] Re: Re: Problem of reduction of rational functions

2018-04-28 Thread rjf
r results from Risch or other procedures. RJF > -- 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 post

[sage-devel] Re: Wrong result for definite integral of sin(x)*exp(I*x)

2018-04-20 Thread rjf
If Sage calls Maxima, then it is a bug in Sage also. Interestingly, Maxima gets the INdefinite integral correct. On Sunday, April 15, 2018 at 10:31:36 PM UTC-7, Ralf Stephan wrote: > > Not Sage, it's Maxima: > (%i2) integrate(sin(x)*exp(%i*x),x,-%pi,0); >

Re: [sage-devel] Re: How much do we support the casual user

2018-03-28 Thread rjf
There is a history of CAS providing strong mathematical typing as part of the user interface, as in Sage. Those systems have been unpopular. Axiom, FriCAS. Users tend to be mathematicians. There is a history of pasting on formal mathematical typing on other systems. Maple, and (I think)

[sage-devel] Re: formal square root of power series

2017-12-24 Thread rjf
series, in case this is not already being used. e.g. http://www.eecs.harvard.edu/~htk/publication/1978-jacm-brent-kung.pdf RJF On Thursday, December 21, 2017 at 3:19:57 AM UTC-8, vdelecroix wrote: > > Dear all, > > I might introduce a non backward incompatible change for square root

[sage-devel] Re: About solve(x*abs(x)==1, x)

2017-12-13 Thread rjf
py's solve is perhaps another path. RJF On Wednesday, December 13, 2017 at 1:36:10 AM UTC-8, Jori Mäntysalo wrote: > > This has been discussed earlier, but I was again asked about this: > > sage: solve(x*abs(x)==1, x) > [x == (1/abs(x))] > sage: solve([x*abs(x)==1, x==x], x

[sage-devel] Re: ECL says: THROW: The catch RAT-ERR is undefined

2017-11-26 Thread rjf
It would be helpful if the command line(s) sent to Maxima that resulted in this message were posted, either here or on the Maxima newsgroup. A Sage workbook Without knowing what was attempted, I will nevertheless suggest that executing the command gcd:subres may fix the problem. > -- You

[sage-devel] Re: Pattern matching in Sage

2017-11-17 Thread rjf
even 2^n for possibly negative n. RJF On Friday, November 17, 2017 at 3:24:20 AM UTC-8, Eric Gourgoulhon wrote: > > Le dimanche 12 novembre 2017 16:04:38 UTC+1, Eric Gourgoulhon a écrit : >> >> >> Yes for sure, I will rewrite it using the expression tree

[sage-devel] Re: Pattern matching in Sage

2017-11-16 Thread rjf
g feature in SNOBOL IV. There is also a long history of people writing programs based on a bad idea, poorly designed, and destined to be discarded. I've done some of that myself. RJF -- You received this message because you are subscribed to the Google Groups "sage-devel" group.

[sage-devel] Re: "SageMath will replace Maple"

2017-11-16 Thread rjf
atica, not Maple, has a larger foothold in "scientific computing" establishments. Whether this is an actual endorsement of the quality of the software or a tribute to the dominance of physicists in national laboratories or academia, or both, I cannot say. RJF On Wednesday, November 15

[sage-devel] Re: Pattern matching in Sage

2017-11-14 Thread rjf
. This makes the whole enterprise somewhat suspicious. Should you depend on this library? The fact that you have ever even considering string representations furthermore suggests you should do some further investigation of the literature before plunging into writing code. RJF On Sunday

[sage-devel] Re: Symbolic Matrix Calculus in Sagemath

2017-11-09 Thread rjf
that transpose(transpose(A)) is equal to A, knowing that A is nXm but where n, m are unknown objects but assumed to be positive integers? RJF actually, not a fan of coffee :) On Wednesday, November 8, 2017 at 11:52:14 PM UTC-8, mforets wrote: > > Hello, > also here's an op

[sage-devel] Re: Symbolic Matrix Calculus in Sagemath

2017-11-08 Thread rjf
I don't use Sage. I use Maxima. What you propose sounds trivial and boring, at least to me. If you want to figure out how to support block matrices and operations on them, that would be more of a challenge, and maybe of some use in the world of linear algebra, proofs, and whatnot. ( RJF

Re: [sage-devel] let's make FriCAS optional

2017-09-27 Thread rjf
To the extent that Macsyma/Maximaand Scratchpad/Axiom/Fricas have overlapping capabilities, it would be interesting to have a competent assessment as to which of them should be used by Sage for some functionalities. RJF On Wednesday, September 27, 2017 at 7:12:19 AM UTC-7, vdelecroix

Re: [sage-devel] Re: How much do we support optional packages.

2017-09-14 Thread rjf
involving a trusted virtual machine). RJF On Thursday, September 14, 2017 at 6:21:28 AM UTC-7, kcrisman wrote: > > > > On Wednesday, September 13, 2017 at 4:35:38 PM UTC-4, Jeroen Demeyer wrote: >> >> On 2017-09-13 21:56, rjf wrote: >> > Just because a package bui

[sage-devel] Re: How much do we support optional packages.

2017-09-13 Thread rjf
Just because a package builds, loads, and passes some tests doesn't mean that it also includes some security attack. Does anyone care about / have any useful thoughts about /. that? Sage includes Maxima and Lisp, which generally provides access to system routines, for example. RJF

[sage-devel] Re: Some polynomial timings

2017-09-06 Thread rjf
rous times that relatively high speed on polynomial problems of astronomical size may not be the criterion for choosing a method and representation for most users. But this is a fun target for making improvements. RJF On Sunday, September 3, 2017 at 10:13:59 PM UTC-7, parisse wrote: > > > > L

[sage-devel] Re: Some polynomial timings

2017-09-03 Thread rjf
I was doing timing on the same task and found that one system (used for celestial mechanics) was spectacularly fast on a test just like this one. One reason was that it first changed f*(f+1) to f^2 +f and was clever in computing f^2. You should be clever at this too. Anyway, be careful when

[sage-devel] Re: SIGSEGV in Maxima

2017-08-13 Thread rjf
cannot be done. If you say assume(sqrt(z)>0) then maybe you have disambiguated something. There are possibilities of carrying the sqrt() as a pair, <+b, -b> throughout a calculation, or using as a notation rootof(z^2-b, b) for an arbitrary root. It is possible to

[sage-devel] Re: SIGSEGV in Maxima

2017-08-12 Thread rjf
s an inadequate step in whatever you are trying to do,. Good luck RJF On Thursday, August 10, 2017 at 11:37:47 AM UTC-7, Richard_L wrote: > > The following string sent to maxima causes a seg-fault and core dump: > > > > /home/rllozes/sage-8.0/local/lib/python2.7/site-pack

[sage-devel] Re: the overhead of sorting in .roots()

2017-06-12 Thread rjf
maybe the right solution is to speed up sorting, perhaps by a better comparison routine. Having a function whose results differ from call to call is something to be avoided when possible. On Sunday, June 11, 2017 at 10:21:33 PM UTC-7, Nils Bruin wrote: > > How attached are people to creating

Re: [sage-devel] Re: integration algorithms

2017-03-21 Thread rjf
On Monday, March 20, 2017 at 11:50:00 PM UTC-7, parisse wrote: > > I think that people who never wrote symbolic integration algorithms > underestimate the work required (this is also true in other areas, for > example simplification, UI, etc.). I believe that the current symbolic >

[sage-devel] Re: integration algorithms

2017-03-20 Thread rjf
People have been working on computer programs for integration since about 1961. There are at least 8 PhD theses on the topic. If you think there is "low hanging fruit" like writing a better simplification program, or using binary search instead of pattern matching, or something else you

[sage-devel] Re: Integral is divergent (playing with floor and ceil)

2017-03-15 Thread rjf
or both ends. Not that it has the value infinity at an endpoint. Sometimes doing math by computer ends up requiring subtleties. RJF On Monday, March 13, 2017 at 5:53:33 AM UTC-7, kcrisman wrote: > > As it happens, in this case the underlying problem is that we send such > unevaluated integral

[sage-devel] Re: Integral is divergent (playing with floor and ceil)

2017-03-15 Thread rjf
On Sunday, March 12, 2017 at 4:38:41 AM UTC-7, Peleg Michaeli wrote: > > > you might simplify infinity-infinityto 0, > Well, this is the wrong thing here... but sage is smarter than that, I > believe. > > >>> I truly doubt that. There are presumably many subsystems that can make this

[sage-devel] Re: Integral is divergent (playing with floor and ceil)

2017-03-11 Thread rjf
One other possibility for symbolic systems when the question when the object in question cannot be simplified or evaluated, is to return the unsimplified or unevaluated expression. The simplest case might be something like is (a>b) which, in the absence of any information about the values of

[sage-devel] Re: Integral is divergent (playing with floor and ceil)

2017-03-11 Thread rjf
On Wednesday, March 1, 2017 at 2:11:41 AM UTC-8, Peleg Michaeli wrote: > > Hi, > > I have two questions, one might be thought of as a bug report / feature > request, please tell me what you think. Trying > integrate(x, x, 0, infinity) > raises ValueError: Integral is divergent. > > My first

[sage-devel] Re: integration algorithms

2017-03-03 Thread rjf
a calculus + computer lab many years ago (1973! at MIT), the students were more interested in the Risch algorithm (simple version) than "regular" stuff. Even today, calculus classes don't teach that, do they? RJF On Wednesday, March 1, 2017 at 11:51:34 PM UTC-8, parisse wrote: > > &

[sage-devel] Re: integration algorithms

2017-03-01 Thread rjf
in 2014) was 3,500. computer scientists, 25,600. dental hygienist 200,500. I have suggested to people that if they want to make money writing programs, they should not have as a target audience "mathematicians". Maybe they should pick some other occupation, e.g. dental hygienists. RJF -

[sage-devel] Re: integration algorithms

2017-03-01 Thread rjf
I think that if *students *are using Sage to access the integration program in Maxima, they could just use Maxima. If they are choosing an integration program based on speed, they must have a very very old computer, since almost any student problem is done instantly. By almost any program.

Re: [sage-devel] Re: integration algorithms

2017-03-01 Thread rjf
Maxima's version of Risch is about 13 pages of code, not counting some material that may reside in other files having to do with finding appropriate algebraic or transcendental extensions. I suspect no one has looked at it seriously in 40 years. On Wednesday, March 1, 2017 at 1:26:04 PM

[sage-devel] Re: integration algorithms

2017-02-28 Thread rjf
ve studied. Probably pursuing these kinds of problems would involve mostly Maxima (and FriCAS if it is there) and maybe sympy; though that last one may be wrong -- I don't follow sympy much. RJF On Tuesday, February 28, 2017 at 11:10:49 AM UTC-8, parisse wrote: > > > > Le mard

[sage-devel] Re: integration algorithms

2017-02-26 Thread rjf
Well known strategy for many tasks, probably never implemented. Why? 1. The first algorithm in the list might not terminate, so no alternative will be tried. (Serial processing...) 2. setting all alternatives going "in parallel" might work if you actually can do that with hardware; on a

[sage-devel] Re: imaginary unit I is smaller than 1

2017-02-19 Thread rjf
There are a whole bunch of issues raised in the context of bool(x>0) and some mention of what Maxima does, in that thread from 4 years ago. But the description of what Maxima* actually does* was essentially missing from the discussion. As is often the case when several different conflicting

[sage-devel] Re: imaginary unit I is smaller than 1

2017-02-19 Thread rjf
It might be comparing the real parts. What did you expect? Perhaps Error "<" requires that both operands be members of the same ordered field ?? Or perhaps just False On Sunday, February 19, 2017 at 3:56:49 AM UTC-8, Daniel Krenn wrote: > > Dear all, > > I am surprised by > sage: bool(I

Re: [sage-devel] Re: Organisation of online : survey of developers

2017-02-06 Thread rjf
I'm neither a developer (except indirectly, I suppose, via fixes to Maxima) nor a Sage user nor, for that matter, a fan of Python. (I don't object to it, just don't use it). Nevertheless, I'll throw my $0.02 in here. Why not have a top-level menu that leads to introduction to Sage for high

[sage-devel] Re: Possible bug in Maxima related to variable names in long expressions

2017-01-29 Thread rjf
Don't bother posting it as an error unless you specify exactly which version of Maxima and Lisp you are testing, because it works just fine for me in Maxima 5.37.2 http://maxima.sourceforge.net using Lisp SBCL 1.2.7 I get (2*cos(a)*cos(b)-2*sin(a)*sin(b))*cos(x/2)

[sage-devel] Re: Implementation of Gamma in Sage

2016-12-29 Thread rjf
On Saturday, December 24, 2016 at 4:35:18 PM UTC-8, saad khalid wrote: > > You're certainly right. It was faster than mathematica implementation of > q-digamma, so I assumed that it would be faster than any implementation > that is open source. > That's not a very good assumption, I think.

[sage-devel] Re: Implementation of Gamma in Sage

2016-12-24 Thread rjf
On Monday, December 19, 2016 at 6:36:19 PM UTC-8, saad khalid wrote: > > Hello everyone! > > I'm interested in contributing/working on Sage a bit. Specifically, one of > my Professor's came up with a faster way to compute q-digamma, at least in > some cases. I would like to code it up and add

Re: [sage-devel] Multivariate polynomial factoring and bug(?)

2016-11-03 Thread rjf
don't know what are the current combination of algorithms and heuristics for factoring in Maxima. RJF On Thursday, November 3, 2016 at 12:37:58 PM UTC-7, Nils Bruin wrote: > > On Thursday, November 3, 2016 at 1:37:25 PM UTC-4, Dima Pasechnik wrote: >> >> >> >> On T

Re: [sage-devel] Multivariate polynomial factoring and bug(?)

2016-10-30 Thread rjf
On Saturday, October 29, 2016 at 10:33:42 PM UTC-7, Jori Mäntysalo wrote: > > On Sat, 29 Oct 2016, rjf wrote: > > > If you think that there is a problem factoring a polynomial,present the > polynomial. > > > > A report that something random happens with somethi

Re: [sage-devel] Multivariate polynomial factoring and bug(?)

2016-10-29 Thread rjf
If you think that there is a problem factoring a polynomial, present the polynomial. A report that something random happens with something random is not a useful bug report. On Friday, October 28, 2016 at 9:44:09 AM UTC-7, Dima Pasechnik wrote: > > 5 variables and degree 100 is really, really

[sage-devel] Re: symbolic series precision vs order term exponent

2016-10-29 Thread rjf
it right. Or you could just call Maxima. Good luck. RJF -- 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 post to

Re: [sage-devel] Giving Sage AI-based step-by-step equation solving abilities

2016-10-14 Thread rjf
his. Nevertheless fun to read and pick at his arguments. I don't know what the PRESS people think about him, actually.) RJF > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails fro

Re: [sage-devel] Giving Sage AI-based step-by-step equation solving abilities

2016-10-12 Thread rjf
"symbolic mathematical equation solving" for a CAS. RJF On Wednesday, October 12, 2016 at 10:50:31 AM UTC-7, tkosan wrote: > > Thierry wrote: > > > such a tool could be interesting. However, we are lacking concrete > > examples on PRESS abilities. It would be nic

Re: [sage-devel] Giving Sage AI-based step-by-step equation solving abilities

2016-10-11 Thread rjf
e to having massively over-promised and > under-delivered. It got hyped like crazy by both academics and > companies at certain points in the past.The term can -- in some > cases -- cause some people who have been paying attention to CS > research for a few decades (s

Re: [sage-devel] Giving Sage AI-based step-by-step equation solving abilities

2016-10-11 Thread rjf
I think that calling this Artificial Intelligence is probably unhelpful and arguably wrong. But maybe you (and maybe the PRESS people) are calling rules + search + evaluation as AI? Unless it has changed substantially from what I have seen in the past,, PRESS is lacking in rigorous methods for

[sage-devel] Re: How to check that something is a real number?

2016-09-19 Thread rjf
If arg(x) is 0 and x is a number, then it is a real number. Maxima calls this carg() for complex arg. Carg will also work for some things that are not of numeric type, but symbolic in some way. . Like sqrt(x^2+y^2) is real if domain=real Good luck On Monday, September 19, 2016 at

[sage-devel] Re: unexpected equality

2016-09-18 Thread rjf
looks to me like you should use some kind of decision procedure that gets the right answer. Apparently you are using some part of maxima that does numerical evaluation, which part is inappropriate for this use. maybe is(equal(sin(1+2^-200),sin(1))); which returns true. Actually, I'd call that a

[sage-devel] Re: [sage-support] Re: (William Stein) "my top priority right now is to **make a lot of money**"

2016-08-27 Thread rjf
I just hope that William places a higher priority on food, rent, etc. There are probably easier ways for him to make a lot of money.. If he succeeds he could buy food, pay rent,(etc) and donate to Sage, also. See https://www.simonsfoundation.org/about-us/ for example. > -- You received

[sage-devel] Re: possibly controversial question: "Can I create commercial software using SageMath?"

2016-08-17 Thread rjf
try to sell something that is GPL free. Of course, I once again remind you, I am not a lawyer. RJF On Tuesday, August 16, 2016 at 10:02:16 PM UTC-7, William wrote: > > > http://ask.sagemath.org/question/34442/can-i-create-commercial-software-using-sagemath > > > I put: &

Re: [sage-devel] Re: survey ==> Python3

2016-07-25 Thread rjf
again choose Python, knowing that there would be a requirement to continually rewrite stuff to be compatible with the latest version. RJF > Lets just look at strings, which is also one of the reasons driving the > breaking change between Python 2 and 3. Back in the 90's it was ok to

Re: [sage-devel] Re: survey ==> Python3

2016-07-25 Thread rjf
rk against Python, in my opinion. What is your opinion? What part of the culture am I missing? Given the occasional use of arithmetic in Sage, it would seem to be a issue to redefine "/" . R On Sunday, July 24, 2016 at 9:14:17 PM UTC-7, William wrote: > > On Sun, Jul 24,

Re: [sage-devel] Re: survey ==> Python3

2016-07-24 Thread rjf
a problem. But there are 50-year-old programs in Maxima. I think that if someone proposed a "new" CL standard, it would have to be backward compatible. RJF On Sunday, July 24, 2016 at 6:16:15 PM UTC-7, William wrote: > > On Sun, Jul 24, 2016 at 5:22 PM, rjf <fat...@gmail.com > > w

[sage-devel] Re: survey ==> Python3

2016-07-24 Thread rjf
And then, in a few years Python 4? Perhaps there is a lesson here? RJF On Sunday, July 24, 2016 at 6:33:36 AM UTC-7, William wrote: > > Hi, > > We recently did a survey with a question about why people choose (or > would choose) something else instead of Sage. There are def

[sage-devel] Re: limit bug that I'm really sure used to work correctly

2016-06-10 Thread rjf
uot; where +-infinity sits? or would that place be "undefined"? or you might want something like Mathematica's DirectedInfinity. Comments on that (draft) paper above are welcome. RJF On Tuesday, June 7, 2016 at 1:53:33 PM UTC-7, john_perry_usm wrote: > > I should elabora

Re: [sage-devel] Re: Copyrights

2016-05-29 Thread rjf
On Friday, May 27, 2016 at 10:34:38 AM UTC-7, William wrote: > > On Fri, May 27, 2016 at 10:30 AM, rjf <fat...@gmail.com > > wrote: > > So you should claim authorship and copyright, and then declare that > others > > may > > use it under whatever restri

Re: [sage-devel] Re: Copyrights

2016-05-27 Thread rjf
The point is, if you don't claim authorship, someone else might, and (for example) restrict access, even by you. So you should claim authorship and copyright, and then declare that others may use it under whatever restrictions you determine. Personally, I find the MIT or Berkeley licenses

Re: [sage-devel] Code vs codes

2016-04-20 Thread rjf
lementary function library". Another example of words changing meaning ... "hacker" meant someone who cleverly used programs (or devices) for purposes other than what was initially intended. Often amusing. Now it seems to be used with negative connotation ( hacker == cyber-crim

  1   2   3   4   5   6   7   >