Documentation

Complexitylib.SAT.Tseitin.Machine.Internal.ControllerInput

Input framing for the Tseitin streaming controller #

The streaming controller never rewinds while reading a valid token stream. framedTokenInput pre rest fixes the original cells for pre ++ rest and places the head immediately after the encoded prefix. These lemmas identify the next two cells with the next token and normalize the frame after those two cells have been consumed.

Original token-stream cells with the head immediately after pre.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Every framed token input is parked.

    The next two cells of a nonempty remainder are exactly its first token.

    Consuming the next token advances the framing prefix by that token.

    With no tokens remaining, the framed input head reads the first trailing blank.

    The empty-prefix frame is the input tape handed to the controller after rewind.