ProductivePredictionMachine

Simplify an automaton by deleting the paths a reliable prediction says inputs will never take

Infrastructure · Primitives · brainference 1.0.0

Mechanism

Take a finite automaton or Turing machine M and a prediction about its inputs, stated negatively: after an A, no letter other than B follows. Delete every transition on an excluded letter from states entered by reading A, and every state reachable only through them. Further, after reading A, move directly to the state reached by AB and skip the B. The resulting machine behaves identically to M on every input that satisfies the prediction. How much M shrinks measures how exploitable the prediction is, which depends on the machine's shape as much as on the prediction. The freed capacity can be returned as savings or reused for other processing within the same budget.

Invariants

Failure modes

Where this came from

Identity