dreams of math and science
Nov. 3rd, 2006 06:45 pmApparently, my dreams are more visual than most people's. More mathematical as well.
Last week, I was thinking about model selection ideas, relating to the question of why Occam's Razor is useful. At my job, we do a search for production rules that explain a given problem-solving behavior. My dream had a person on a diagram, jumping from model to next-simplest model... reminescent of Levin search (incidentally,
jcreed recently told me that one of the problems in Rudich's Complexity Theory class was to find a program that will compute a given NP-complete problem in P-time, *IF* it is the case that P=NP. The solution is to (1) write a P-time reduction of the problem to SAT, and (2) to write an algorithm that will solve SAT in P-time if that it at all possible (i.e. P=NP), by searching through all algorithms.).
Yesterday,
shaktool and I were discussing why milk is white. My argument was that this meant that milk couldn't be a pure substance (I believe it is a suspension), since white solids always become colorless when you melt them.
So tonight I dreamed that I was explaining to my mom something about the solubility of salts, and I predicted that Hudson Bay, consisting of cold polar water, would have precipitated salt at the bottom. In order to check my prediction, we walked over to Hudson Bay, walked in the not-unpleasantly-cool water, and to my surprise, we found salt crystals *floating*. Most of them were 5-10cm long and diamond-shaped but snow-flakish in texture, and tended to form clusters on the water's surface.
Another association to explain this dream is that I was speaking to my aunt in Alberta yesterday.
Last week, I was thinking about model selection ideas, relating to the question of why Occam's Razor is useful. At my job, we do a search for production rules that explain a given problem-solving behavior. My dream had a person on a diagram, jumping from model to next-simplest model... reminescent of Levin search (incidentally,
Yesterday,
So tonight I dreamed that I was explaining to my mom something about the solubility of salts, and I predicted that Hudson Bay, consisting of cold polar water, would have precipitated salt at the bottom. In order to check my prediction, we walked over to Hudson Bay, walked in the not-unpleasantly-cool water, and to my surprise, we found salt crystals *floating*. Most of them were 5-10cm long and diamond-shaped but snow-flakish in texture, and tended to form clusters on the water's surface.
Another association to explain this dream is that I was speaking to my aunt in Alberta yesterday.
(no subject)
Date: 2006-11-03 07:08 pm (UTC)Well, you do need to be careful about the simulation of all possible algorithms for this to work -- you need to dovetail in the right way, and you need to check your answers. (Neither is hard to do, but I think these are important details.)
(no subject)
Date: 2006-11-03 07:56 pm (UTC)(no subject)
Date: 2006-11-04 12:09 am (UTC)Take your formula phi(x1,...xn), and see if it is satisfiable.
If so, try phi(1,x2,...xn) and phi(0,x2,...xn) and assign x1 to whichever one works. Then repeat with x2, x3, etc.
So now, if SAT in P, then there is a polytime program that finds the solution. So now run all the various possible machines for computing the assignment. When one finishes, check if it is an actual correct assignment.
For the dovetailing part, let's say your possible algorithms are A1, A2, ...
Then run as follows:
One step for A1.
One step for A1 and A2.
One step for A1, A2, and A3.
This way algorithm Ai will have have run k steps by the time the overall machine has run O(ki) steps.
So if the correct algorithm is Algorithm Aj and it runs in time O(nm) then the Algorithm will get the solution in time O(nmj) which is polynomial since m and j are constants. Although j will probably be enormous.
(no subject)
Date: 2006-11-04 08:10 am (UTC)So your algorithm runs in P-time due to the fact that P=NP, despite not having a proof of P=NP.
Are you sure? It seems to me that the number of steps would be proportional to k^2.
(no subject)
Date: 2006-11-04 08:23 am (UTC)My time calculation is off, it should be the time for k steps is O((k+i)2) and then the overall time is like (n+j)2m, which I suppose is actually just O(n2m) with horrible constant factors.
(no subject)
Date: 2006-11-05 01:10 am (UTC)However, I'm completely unconvinced that whiteness is a proof of anything.