This is a special post for quick takes by niplav. Only they can create top-level comments. Comments here also appear on the Quick Takes page and All Posts page.
Consider proposing the most naïve formula for logical correlation[1].
Let a program p be a tuple of code for a Turing machine, intermediate
tape states after each command execution, and output. All in binary.
That is p=(c,t,o), with c∈{0,1}+,t∈({0,1}+)+ and o∈{0,1}+.
Let l=|t| be the number of steps that p takes to halt.
Then a formula for the logical correlation 合[2] of two halting
programs p1=(c1,t1,o1),p2=(c2,t2,o2), a tape-state
discount factor γ[3], and a string-distance metricd:{0,1}+×{0,1}+→N could be
The lower 合, the higher the logical correlation between p1
and p2. The minimal value is −0.5.
If d(o1,o2)<d(o1,o3), then it's also the case that 合(p1,p2,γ)<合(p1,p3,γ).
One might also want to be able to deal with the fact that programs have
different trace lengths, and penalize that, e.g. amending the formula:
合′(p1,p2,γ)=合(p1,p2,γ)+2|l1−l2|
I'm a bit unhappy that the code doesn't factor in the logical correlation,
and ideally one would want to be able to compute the logical correlation
without having to run the program.
Actually not explained in detail anywhere, as far as I can tell. I'm going to leave out all motivation here. ↩︎
Suggested by GPT-4. Stands for joining, combining, uniting. Also "to suit; to fit", "to have sexual intercourse", "to fight, to have a confrontation with", or "to be equivalent to, to add up". ↩︎
Which is needed because tape states close to the output are more important than tape states early on. ↩︎
My reason for caring about internal computational states is: In the twin prisoners dilemma[1], I cooperate because we're the same algorithm. If we modify the twin to have a slightly longer right index-finger-nail, I would still cooperate, even though they're a different algorithm, but little enough has been changed about the algorithm that the internal states that they're still similar enough.
But it could be that I'm in a prisoner's dilemma with some program p⋆ that, given some inputs, returns the same outputs as I do, but for completely different "reasons... (read more)
Covaries with notes.