Hacker Newsnew | past | comments | ask | show | jobs | submit | testaccount28's commentslogin

derivation of -x seems wrong. we can look at the execution trace on a stack machine, but it's actually not hard to see. starting from the last node before the output, we see that the tree has the form

    eml(z, eml(x, 1))
      = e^z - ln(eml(x, 1))
      = e^z - ln(e^x)
      = e^z - x
and the claim is that, after it's expanded, z will be such that this whole thing is equal to -x. but with some algebra, this is happening only if

    e^z = 0,
and there is no complex number z that satisfies this equation. indeed if we laboriously expand the given formula for z (the left branch of the tree), we see that it goes through ln(0), and compound expressions.

x^-1 has the same problem.

both formulae work ...sort of... if we allow ln(0) = Infinity and some other moxie, such as x / Infinity = 0 for all finite x.


yeah, it's annoying that author talks about RPN notation, but only gives found formulas in form of images

looks like it computes ln(1)=0, then computes e-ln(0)=+inf, then computes e-ln(+inf)=-inf


ah, the paper acknowledges this. my bad for jumping to the diagrams!

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 claim depends on a non-standard arithmetic convention (ln(0) = -∞), not just complex numbers as it primarily advertises. While the paper is transparent about this, it is however, buried on page 11 rather than foregrounded as a core caveat. Your comment deserves credit for flagging it.


I would not call a "non-standard arithmetic convention" that ln(0) = -∞.

This is the standard convention when doing operations in the extended real number line, i.e. in the set of the real numbers completed with positive and negative infinities.

When the overflow exception is disabled, any modern CPU implements the operations with floating-point numbers as operations in the extended real number line.

So in computing this convention has been standard for more than 40 years, while in mathematics it has been standard for a couple of centuries or so.

As always in mathematics, when computing expressions, i.e. when computing any kind of function, you must be aware very well which are the sets within which you operate.

If you work with real numbers (i.e. in a computer you enable the FP overflow exception), then ln(0) is undefined. However, if you work with the extended real number line, which is actually the default setting in most current programming languages, then ln(0) is well defined and it is -∞.


Apparently Python throws an exception. This surprised me, I expected it to only throw for integers. Throwing for floats is weird and unsafe.

    >>> import math
    >>> math.log(0.0)
    Traceback (most recent call last):
      File "<python-input-2>", line 1, in <module>
        math.log(0.0)
        ~~~~~~~~^^^^^
    ValueError: expected a positive input, got 0.0
though if you use numpy floats you only get a warning:

    >>> import numpy as np
    >>> np.log(np.float64(0))
    <python-input-1>:1: RuntimeWarning: divide by zero encountered in log
    np.float64(-inf)
JavaScript works as expected:

    > Math.log(0.0)
    -Infinity
    > Math.log(-0.0)
    -Infinity
    > Math.log(-0.1)
    NaN

The author does address this further on page 14 of SI and provides an alternative of:

−z = 1 − (e − ((e − 1) − z))


do you hold Altman solely responsible for everything on earth?

No, just the things his company does.

is there anything Collier doesn't sneer at? her purpose seems to be discouraging free and creative thinking.

or just pay the landlords directly and cut out the middlemen!

People need more than just rent, and arguably landlords shouldn't be able to profit to the extent they do.

right, i love this plan, we are aligned politically. but until we make some change to the balance between renters and landlords, subsidizing demand is unlikely to help.

please just let me skip it. why am i doing homework in the middle of a game?

lol, i made them skippable earlier to day, if u refresh now it should let you skip them

thanks boss!

not playing past the truth tables bs

optional now!

lol (plz come back), will be optional in 30 min (lemme push)

would you expect dr evil to give a good "mwahahaha" and a bow?

"our new grad student made progress on the combinatorics problem we posed!"

"oh awesome let's see if he can solve p!=np!"


Yes, too many people here do not understand the distance between the problems the article is discussing (and LLMs have solved) and the big problems in math and CS.


> Comments should get more thoughtful and substantive, not less, as a topic gets more divisive.

Do you have any good links on SoTA research in the provability of P!=NP?


i'm pretty much a pessimest [sic] when it comes to fighting smallpox. i think it just exploits one of the bugs in our genetic code that evolution didn't shake out.


do you think these are the ones voting?


Definitely. They are the reason republicans spend time trying to make voting difficult


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: