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 #
Cslib.TreeEval.Reader.haltT_toTuple,Cslib.TreeEval.Reader.addrT_toTuple,Cslib.TreeEval.Reader.stepT_toTuple: they agree with the machine.
@[reducible, inline]
A state record with a replaced unpacked control state.
@[reducible, inline]
abbrev Cslib.TreeEval.Reader.Tuple.with (x : Tuple) (R : Regs) (st : List Iter.Frame) (m : Iter.Mode) (c : CtlTuple) :
A state record with replaced registers, stack, mode, and unpacked control state.
The offset in the encoding of the node at the path of a stack.
@[reducible, inline]
The default frame, standing for the top of an empty stack.