Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Steven Wolfram's blog entries, he discusses using mathematica to discover algorithms. I have tried several different google searches for papers on such topics, and have found none. I suspect this is a case where I'm not using the proper search terms. I could imagine some sort of genetic algorithm based approach that takes a genome and turns that into an algorithm, but I would be curious what specifically he is discussing.

share|improve this question
In case you are looking forward to design algos using M's built in APIs than you might face real problem in calculating complexity as they are completely hidden. You shall use Hashkell rather, as all the implementations are open in its compiler. M is almost a subset of Haskell. – Rorschach Nov 27 '13 at 20:30
up vote 5 down vote accepted

The example I'm familiar with is the claim that some of the formulae used internally by Mathematica's functions were derived using Mathematica itself.

From here:

For machine precision most special functions use Wolfram Language-derived rational minimax approximations.

From here:

Most of the algorithms in the Wolfram Language, including all their special cases, were explicitly constructed by hand. But some algorithms were instead effectively created automatically by computer.

Many of the algorithms used for machine‐precision numerical evaluation of mathematical functions are examples. The main parts of such algorithms are formulas which are as short as possible but which yield the best numerical approximations.

Most such formulas used in the Wolfram Language were actually derived by the Wolfram Language itself. Often many months of computation were required, but the result was a short formula that can be used to evaluate functions in an optimal way.

We can of course presume that the formulae themselves and how exactly they were generated is a trade secret. ;)

share|improve this answer
Related: (39799). The description in the documentation doesn't sound like anything particularly revolutionary, actually--just an optimization problem. – Oleksandr R. Nov 3 '15 at 13:46
@Oleksandr, yeah, Remez was standard fare in the old days of constructing approximations for elementary and special functions. My guess is that this is just a fancy way of saying they implemented the Remez algorithms in Mathematica and set it loose. – J. M. Nov 3 '15 at 13:54
Also related: (6576) and the documentation for the function approximations package. – Oleksandr R. Nov 3 '15 at 13:59
Oops, I forgot Maehly's papers. Pretty sure some of those were used, too. – J. M. Nov 3 '15 at 14:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.