logoalt Hacker News

GodelNumberingtoday at 12:28 PM1 replyview on HN

The code itself is the most compact representation of the rules you want applied.


Replies

Smaug123today at 12:52 PM

This is probably not necessarily true. “f: list[1 A] -> list[A] pure, worst-case time n log n, such that for all x and 0 <= i <= j < len(x), f(x)[i] <= f(x)[j]” is probably good enough for nearly everyone unless the program synthesiser is actively adversarial; probably 99.999% of the list-sorting in the world is done via standard library functions anyway, which suggests that people don’t much care exactly how it happens.

show 2 replies