Re-examining the foundations of AI