Tuesday, April 9, 2013

The Guardians Riddle

The Guardians

You have been captured by an evil wizard and imprisoned in a room.  There are two doors leading out of the room and in front of each door stands a mighty Guardian.  The wizard has informed you that one Guardian always tells the truth and the other Guardian always lies.  He has also informed you that one door leads to freedom while the other door leads to certain doom.  He didn't tell you which door is which, nor which Guardian is which, nor which door each Guardian is standing in front of, but he did tell you that you are allowed to ask one of the Guardians one question to figure out which door to go through..

What question should you ask?

Let us name the door that leads to freedom (O) and the door that leads to certain doom O, and let us name the Truth-Telling Guardian (O) and the Lie-Telling Guardian O.

If you were to ask the Truth-Teller what door he is standing in front of he will tell you the truth. If he is standing in front of the door leading to Freedom he would say (((O))) (which is Void-valued) and if he is standing in front of the door leading to certain doom he would say ((O)) (which is the same as O).

The liar would say ((O)) (which is the same as O) if he is standing in front of the door leading to Freedom and (O) (which is Void-valued) if he is standing in front of the door leading to certain doom.

That doesn't help much, but what if you asked one Guardian what the other Guardian would say if you were to ask him?

The Truth-Teller would tell the truth, so he would say the same thing that the Liar would say, but the liar would lie.  If the Truth-Teller is standing in front of the door leading to Freedom the liar would say that the Truth-Teller would say ((((O)))) (which is the same as O) but if the Truth-Teller is standing in front of the door leading to certain doom the liar would say (((O))) (which is Void-valued.)

This is a little confusing so let's draw a little diagram:

    Door   Guardian   Guardian   Answer
    O      O          (O)        (((O))) -> _
    O      (O)        O          (((O))) -> _

    (O)    O          (O)        ((((O)))) -> O
    (O)    (O)        O          ((((O)))) -> O


It seems that, no matter whom you ask, and no matter which door is which, you can find out the opposite of the answer you want by asking one Guardian what the other would say about his door.

In effect, by asking one Guardian what the other would say you are forcing them both to answer, and because one always lies and one always tells the truth, and it doesn't matter in which order they go, you can always know the right answer, the door to Freedom.

Saturday, April 6, 2013

Programming Languages Considered Harmful

Computer programming "languages" were always a bad idea.  We never should have abandoned math.

The Turing Machine is a bit-rattle, an analytical mess.

The Lambda Calculus is a rude hack.

The Combinators have a grace and elegance, but are lotus-eaters.

The Laws of Form...   are themselves.


My father used to say, often enough that I internalized it, "A fool never learns, a man learns from his mistakes, but a wise man learns from the mistakes of others."

For my part, I took this advice to mean that I should use what I think of as the "ratchet effect" which can be put into words as: use the best thing you can find, until you find something better, then use that.

In mathematics (and computers properly understood are "only" mathematics) if a given structure is simpler and more elegant than, and serves to explain or re-create, some other more complex or less elegant system, then it is common to consider the first structure in some way more primal or fundamental than the later system.

But this breaks down when people are confronted with the Laws of Form.

They are too simple.

People tend to "sniff" audibly and say things like, "well, it's just another notation, isn't it?" and "it doesn't add much to the existing literature."  Which, of course, is exactly missing the point:  it adds nothing and takes away much that is then seen to have been unnecessary.

Eventually, if you stick with it, it takes away everything and "you" are back in the un-distinct Void.





The fact that the Laws of Form provide the best system for thinking and constructing mechanical thought are their least-interesting application.

Selah

We can say without fear of embarrassment or contradiction "The Laws of Form provide the best system for thinking and constructing mechanical thought", because we know that if some one were to come up with a better system it would be shown to be, in fact, the same system as the Laws of Form.

Two beings calculating Pi will arrive at the same value regardless of their circumstances.  In other words, their "circum"-"stances" (the stance of the Universe that surrounds one) would be identical in that way.  Likewise, the considerations here collected under that title "Laws of Form" are the same in all possible Universes, all Universe begins with the making of a distinction.


In the absence of distinction nothing can be signified.


Try to find the distinction between "you" and the contents of "your" awareness.