Documentation

Complexitylib.RationalHitting.PolynomialTime.Defs

A total binary interface to the rational hitting-list generator #

The input is true^n ++ [false] ++ true^s, with both parameters positive. Every other string returns the empty string. The successful output is exactly the source's encoding of its rational matrix hitting list.

The binary form of the source's two unary parameters.

Equations
Instances For

    States recognizing two nonempty unary blocks separated by one false bit.

    • start : InputState

      No input has been read.

    • left : InputState

      At least one bit of the first unary block has been read.

    • separator : InputState

      The separator has just been read.

    • right : InputState

      At least one bit of the second unary block has been read.

    • dead : InputState

      The input is malformed.

    Instances For
      @[instance_reducible]

      The validator uses five concrete states.

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

      A five-state validator for the literal source input format.

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

        The format check is computable by the finite validator.

        Equations

        Read the remaining unary size, excluding the separator.

        Equations
        Instances For

          Generate an encoded hitting list, returning empty output on malformed inputs.

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