The Logic of Self-Destruction: The Algorithm of Human Rationality