Documentation

Complexitylib.Models.TuringMachine.UTM.Internal.Verdict

Halt-test verdict correspondence #

The halt-test machine compares the state tape against the description tape's second field — exactly the qhF field that parseSyms decodes as the halt state. This file proves the comparison agrees with the abstract halt check of the interpreted machine (decodeDesc α).toTM:

A blank-free Γw list is the symbol image of its own bits.

The description tape's second field (the qhalt field), as scanned by the halt-test machine and decoded by parseSyms.

Equations
Instances For

    The qhalt field of a decoded description determines its halt state: fieldNat if the width matches, the sentinel 2^w otherwise.

    The decoded width is the first field's length.

    Running-state verdict: for q < 2^w (with w the decoded width), the state tape's w-bit encoding of q equals the qhalt field iff the interpreted machine's state q is its halt state.