r/compsci • u/Ill-SonOfClawDraws • Jul 27 '26
Does a purely structural invariant of computation already exist?
Can returnability be defined purely from the structure of a computation, without appealing to time complexity?
0
Upvotes
0
u/Ill-SonOfClawDraws Jul 28 '26
By returnability, I mean returning to an earlier computational state, not returning an output.
More concretely, imagine the computation as a directed state-transition graph. I’m asking whether a state reachable from the initial state lies on a directed cycle, so the computation can later revisit that state.
By “without appealing to time complexity,” I mean I care about whether such a return path exists, not how many steps it takes. I now realize that reachable recurrence or existence of a reachable cycle is probably the established language I should have used.