Documentation

CslibFrontier.Computability.TreeEval.Reader.Tuple

The Tree Evaluation read machine on tuples #

The halting test, the address and the step of Cslib.TreeEval.Reader.machine, written on the tuples of Cslib.TreeEval.Reader.State.toTuple as chains of tests on finite tags. In this form they are built from basic functions, which is how their work space is bounded.

Main definitions #

Main results #

@[reducible, inline]

A state record with a replaced unpacked control state.

@[reducible, inline]

A state record with replaced registers, stack, mode, and unpacked control state.

@[reducible, inline]

The control record of run.

The offset in the encoding of the node at the path of a stack.

The halting test on unpacked state records.

The address on unpacked state records.

Whether a mode is a call.

The sign of a call.

The target of a call.

@[reducible, inline]

The default frame, standing for the top of an empty stack.

The steps of the iterative procedure on unpacked state records.

The step on unpacked state records, given the bit read.

On the unpacked record of a state, haltT is the halting test of machine.

On the unpacked record of a state, addrT is the address addr of the state.

On the unpacked record of a state, stepT is the step of machine: it gives the unpacked record of the next state and the same output.