Earlier quoted context omitted.
On page 11, the paper explicitly states: > EML-compiled formulas work flawlessly in symbolic Mathematica and IEEE754 floating-point… This is because some formulas internally might rely on the following properties of extended reals: ln 0 = −∞, e^(−∞) = 0. And then follows with: > But EML expressions in general do not work ‘out of the box’ in pure Python/Julia or numerical Mathematica. Thus, the paper’s completeness cl…
I spent a few days playing around with this work in Lean and his central claim is provably wrong.. The main problem is that singularities infect everything, and you can't have an equational theory without rewrite/substitution rules that aren't grounded unless you can decide if an arbitrary EML tree is zero, which is undecidable in elementary functions (because of sine). Basically it's only valid on a undecideable sub…
All elementary functions from a single binary operator
311–317 of 317 posts
Re: All elementary functions from a single binary operator
#312Earlier quoted context omitted.
Computing exp or ln is an infinite series, and vastly more compute. Hiding series behind a name doesn’t make them free to compute.
They're not series, that's just a convenient way to think about defining and calculating them. I've never found it particularly useful to deal with the series definitions either, and none of the (good) approximation methods I'm aware of actually take that approach. Moreover, EML is complete in a way that your suggested function isn't: If you take a finite combination of basis functions, can it build periodic function…
Previous commenter meant that there are infinite series inside log and exp.
To achieve a thing like sin(x) from his universal expression, yes you'd need infinite series of those, not a finite set of operations, but to get all 36 basic function you'd need a finite set of different infinite series.
So exp and log just happen to be the labels for two element set of such infinite series that you'd have to use to make 36 functions out of the operator that pervious commenter proposed.
All that said, I still think it's pretty neat too.
Re: All elementary functions from a single binary operator
#313Re: All elementary functions from a single binary operator
#314Re: All elementary functions from a single binary operator
#315Re: All elementary functions from a single binary operator
#316Re: All elementary functions from a single binary operator
#317https://www.wolframscience.com/nks/notes-4-5--operator-repre...