News for hackers. Stuff that matters.
Re:Markets are efficient if and only if P=NP (2010) by adamnemecek on Wednesday October 21, 2020 @12:31AM (#24844751)
P==PN on analog photonic machines. A light prism calculates Fourier in O(1) (given a prism is not aware of Big O). Using Fourier, one can factorize a number in O(1), and then solve NP in P.
Re:Markets are efficient if and only if P=NP (2010) by beervirus on Wednesday October 21, 2020 @01:26AM (#24844988)
Whatever you're encoding into the light that gets shined on the prism... that process is probably not gonna be O(1).
Re:Markets are efficient if and only if P=NP (2010) by adamnemecek on Wednesday October 21, 2020 @01:26PM (#24850028)
It's not, no. Whats your point? The factorization step is still O(1).
Re:Markets are efficient if and only if P=NP (2010) by beervirus on Wednesday October 21, 2020 @03:25PM (#24851128)
You can't factorize a number in O(1) if it takes O(n) or whatever to set up the problem.

Everything is O(1) if you can ignore steps.

Re:Markets are efficient if and only if P=NP (2010) by hansvm on Wednesday October 21, 2020 @02:30AM (#24845265)
There's a limited amount of information in the signal to a photonic machine of a given size though. If the inputs are bounded in some sense then a digital computer can calculate Fourier in O(1) too. That doesn't make the problem any easier asymptotically -- you still need more machine or more time to calculate arbitrary Fourier.

That said, recent work on photonic Fourier transforms does look interesting from the perspective of a co-processor. They offer meaningful gains over alternatives.

Re:Markets are efficient if and only if P=NP (2010) by adamnemecek on Wednesday October 21, 2020 @10:28AM (#24848199)
How can you calculate Fourier in O(1) if the input is bound?
Re:Markets are efficient if and only if P=NP (2010) by beervirus on Wednesday October 21, 2020 @03:26PM (#24851138)
If the input maxes out at 64 bits, then calculating the Fourier transform is O(64), which is O(1).
Re:Markets are efficient if and only if P=NP (2010) by adamnemecek on Wednesday October 21, 2020 @06:57PM (#24853192)
I don't follow.
Re:Markets are efficient if and only if P=NP (2010) by beervirus on Wednesday October 21, 2020 @10:58PM (#24854481)
O(whatever) refers to the asymptotic behavior as n gets arbitrarily large. If n is bounded, big O notation doesn’t really mean anything because everything is O(1).
Re:Markets are efficient if and only if P=NP (2010) by adamnemecek on Wednesday October 21, 2020 @11:46PM (#24854682)
I understand big O however Fourier bio O runtime is bound by the length of the signal, not by maximum value of the signal.
Re:Markets are efficient if and only if P=NP (2010) by hansvm on Thursday October 22, 2020 @11:59AM (#24859428)
The photonic processor in question can only process some maximum M number of bits worth of signal in a given time T though. To have a throughput of better than M/T you need more time or more/better processors (i.e., for large enough inputs the runtime isn't actually O(1) ).

What I was pointing out is that digital implementations have this exact same property -- if the input is bounded in the sense that there are a maximum number of bits being fed into your digital computer then the maximum runtime is a constant equal to the maximum runtime for any of those finite inputs -- i.e., the runtime is O(1) for the inputs you're actually able to provide (the exact same inputs you could provide to the photonic processor to achieve a constant-time Fourier transform). To scale up beyond that threshold you still need more time or more/better processors.

Re:Markets are efficient if and only if P=NP (2010) by adamnemecek on Thursday October 22, 2020 @12:38PM (#24859943)
Are we talking about analog computers?
Re:Markets are efficient if and only if P=NP (2010) by FeepingCreature on Sunday October 25, 2020 @02:08PM (#24888450)
Yes.
Re:Markets are efficient if and only if P=NP (2010) by FeepingCreature on Wednesday October 21, 2020 @12:43AM (#24844793)
Photons are discrete.
Re:Markets are efficient if and only if P=NP (2010) by adamnemecek on Wednesday October 21, 2020 @12:45AM (#24844798)
What's your point?
Re:Markets are efficient if and only if P=NP (2010) by FeepingCreature on Thursday October 29, 2020 @02:43PM (#24933950)
You cannot do continuous computation with discrete components.