News for hackers. Stuff that matters.
Re:Complexity Theory’s 50-Year Journey to the Limits of Know... by Dylan16807 on Saturday August 19, 2023 @02:48AM (#37186212)
"Faster as the input grows" is perfectly compatible with a minimum number of time units. If your definition insists the minimum of time units must be 0, with infinitesimal time getting involved, then your definition sucks.
Re:Complexity Theory’s 50-Year Journey to the Limits of Know... by paulddraper on Saturday August 19, 2023 @03:37AM (#37186443)
For a function to strictly decrease forever, at least one of two statements is true:

1. It decreases by vanishingly smaller amount.

2. It decreases to negative infinity.

So...which is it? Infinitesimal time units, or negative time?

Re:Complexity Theory’s 50-Year Journey to the Limits of Know... by quickthrower2 on Saturday August 19, 2023 @03:55AM (#37186552)
Strictly speaking it either tends to negative infinity, or tends to so real number X, which could be any number positive or negative.
Re:Complexity Theory’s 50-Year Journey to the Limits of Know... by paulddraper on Saturday August 19, 2023 @11:10AM (#37189562)
In that latter case, statement 1 is true.
Re:Complexity Theory’s 50-Year Journey to the Limits of Know... by Dylan16807 on Saturday August 19, 2023 @04:14AM (#37186656)
3. Nobody said "strictly".
Re:Complexity Theory’s 50-Year Journey to the Limits of Know... by paulddraper on Saturday August 19, 2023 @10:50AM (#37189386)
They said decreases, not stays constant
Re:Complexity Theory’s 50-Year Journey to the Limits of Know... by Dylan16807 on Saturday August 19, 2023 @12:09PM (#37190196)
Plenty of O(n), O(nlogn), O(n^2) algorithms don't strictly increase.

Rounding the decrease to the nearest time unit some of the time is hardly a disqualifier for "decreasing". (Though specifically they said "faster".)

Re:Complexity Theory’s 50-Year Journey to the Limits of Know... by paulddraper on Saturday August 19, 2023 @12:49PM (#37190660)
Yes, but...

The mathematically rigorous form of the posed question is whether there is an algorithm with run time f(N) for which there exists strictly decreasing g(N) such that f(N) = O(g(N)). That is, the run time is bounded by a forever decreasing function.

f(N) itself doesn't need to be strictly decreasing, but there needs to be a g(N) that is.

Bottom line, no algorithm can have a forever decreasing run time as N increases. An algorithm can exhibit that behavior over a limited range of N, but that's not how complexity works.

Re:Complexity Theory’s 50-Year Journey to the Limits of Know... by Dylan16807 on Saturday August 19, 2023 @01:37PM (#37191135)
> The mathematically rigorous form of the posed question is whether there is an algorithm with run time f(N) for which there exists strictly decreasing g(N) such that f(N) = O(g(N)). That is, the run time is bounded by a forever decreasing function.

Let's say my minimum runtime is 7, and the strictly decreasing bound on my runtime is g(N) = 1e15/N + 7

Doesn't that fit your description fine?