Cascading

Am I a robot programmed to think "I am human"?No, if that were the case,I would be designed not to harbor such a doubt.

Am I a robot intentionally programmed with doubt,so I would think "Since I doubt, I am human"?No, if that were the case,I would be designed not to doubt the doubt itself.

Since I can never prove I am humanno matter how far I doubt,am I a robot after all?No, if I were a robot,there would be no need for a functionto write a poem like this.