@parados,
Here's an answer to your question on artificial intelligence: What is the smallest possible measure of a thought?
Logic is usually stated as the group {AND, OR, NOT} that can define any thinking process. But did you know there's a much simpler way? All of logical thought can be expressed with just a single comparison: XOR
If there is darkness, then let there be light