Documentation

Complexitylib.Models.TuringMachine.Subroutines.PairValidate.Defs

Pair-encoding validator — definitions #

This file defines a finite-state scanner for the image of the library's self-delimiting binary pair codec. Unlike pairSplitCoreTM, the validator has total semantics: it writes 1 exactly when unpair? succeeds and writes 0 on every malformed encoding.

The language of strings on which the canonical pair decoder succeeds.

Equations
Instances For

    Finite control for recognizing the doubled prefix and 01 separator of a pair encoding. Once the separator has been seen, every remaining bit belongs to the unrestricted right component.

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

      A total, zero-work-tape validator for the image of pair.

      The generic scanner consumes the whole input, folds pairValidateStep in finite control, and writes the final Boolean verdict to output cell 1.

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