definedOnString
is UncomputableSeptember 16, 2025
definedOnString(P, I)
is designed to answer this question:
"yes"
if program P(I)
halts (is defined)."no"
otherwise.definedOnString
: Case 1definedOnString
: Case 2definedOnString(P, I)
is designed to answer this question:
"yes"
if program P(I)
halts (is defined)."no"
otherwise.definedOnString
won’t run its input; will just analyze the code and decide if it halts or runs forever.containsGAGA.py
, yes.py
, etc.)definedOnString
is seeing whether the other program will halt or run forever, we already know that this is impossible (Halting Problem)definedOnString(P, I)
existsweirdDefinedOnSelf(rf('weirdDefinedOnSelf.py'))
defined
→ program actually loops forever → contradictionInfinite loop
→ program undefined → contradictiondefinedOnString.py
cannot exist.definedOnString(P, I)
is uncomputable in the general caseweirdDefinedOnSelf
existsweirdDefinedOnSelf
acts as a troublemaker programyes
and no
-> logical impossibilitydefinedOnString(P, I)
cannot existProofgrammers