Documentation

CslibFrontier.Computability.USTCON.Reader.Encode

Encoding the states of the read machine for undirected connectivity #

The states of Cslib.USTCON.Reader.machine are encoded through tuples of the control, numbers in binary, and lists of labels and frames, every label and frame by its rank among the finitely many (Turing.MultiTapeTM.encFinEnum). The machines simulating the read machine keep the encoded state on their work tapes, so its length bounds their work space, up to a constant factor and the position of the input head.

Main definitions #

Main results #

@[instance_reducible]

Concrete enumeration of a positive modular ring.

@[reducible, inline]

The states as tuples: the control and the header counter, the parameters of the instance and of Reingold's graph, and the counters of the walks with the state of the evaluation.

The state of a tuple.

@[reducible, inline]

The state of the evaluation: the slot, the labels and the frames.

The control, by its rank.

@[reducible, inline]

The encoding of tuples.

The encoding of the states, through their tuples.