Interesting new contender for simplest to state unsolved problem: The Antihydra
Does this program halt?
a = 8
b = 0
while b != -1:
if a % 2 == 0:
b += 2
else:
b -= 1
a += a//2
(// being integer division, equivalently a binary shift one to the right: >> 1)Is that also the simplest unsolved state problem?
Fwiw, ChatGPT is able to say that it doesn't. I wonder what other classes of programs it's able to state if it halts?
Interesting, I hadn't heard this one.
I should see if I can model this in Isabelle or something and see what happens.