Everything you can test at runtime, yes. By simulation, and considering
all possible digital inputs as you go. (Hence exponential time).
That's not a complete proof -- and so does not solve the halting
problem. Neither does any runtime check.
> So you can now solve the halting problem statically? Bzzt. It's more
> subtle than that.
It is.
> Considering that an n-state Turing machine can be coded in about n-squared
> lines of switch statement (or an n-squared array declaration), it becomes
> clear that even very simple programs can have incomprehensibly complex
> behavior.
>
> http://cis.csuohio.edu/~somos/beaver.ps
Nice.
I stand by my point that those aren't in the realm of runtime checks
though :-)
- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/