我的理解是,对于一个足够简单的功能,让我们说
function(boolean input){
while(input){
}
}
可以判断它是否会因任何可能的输入而停止。
很容易看出,上面的函数会因为 fhaltingFinder(haltingFinder)` 而终止而false
不是终止,本质上是一个悖论。true. It's only impossible to solve the halting problem for an arbitrary function
, as of course you can evaluate
我的理解正确吗?