I cannot find any answer to that apparently simple problem : On a square lattice, a path is given by a sequence of relative moves in {"move forward", "turn right" and "turn left"}.
Is there a rule that characterizes if a path is self-avoiding (or not) ?
Edit : Let me precise the kind of rule I am looking for: Let's imagine a walk described, this time, by absolute moves (U=upN=move North, D=downS=move South, R=RightE=move East, L=LeftW=move West), then the presence of a loop in the sequence is characterized by a subsequence for which nb(UN) = nb(DS) and nb(RE)=nb(LW). That's a simple rule.
Is there suchIs there such a rule in the case of a sequence of relative moves ? Or do we have to translate the sequence to absolute moves ? Thanks.
Example (to make myself clear): here is a rule in the casewalk (or part of a sequence of relativewalk), written in absolute moves ? Or do we have{North, East, West, South}: EENWNNWSSS => We immediately know it is a loop, without having to translatedraw anything or keep track of the sequencepositions visited, because nb(N)=nb(S) and nb(E)=nb(W).
Now here is the same walk written in relative moves {Forward, Turn right, Turn left}: FFLFLFRFFLFLFFF => Without drawing anything, nor converting to absolute moves. Is there a rule that allows to say it is a loop ? Thanks.