Documentation

Complexitylib.DescriptiveComplexity.Encoding.Positions.Defs

Positions in the finite-structure encoding #

The table sites follow exactly the computable enumeration used by encodeStruct: relation symbols in order, their tuples in allTuples order, then one-hot constant blocks. encodingPosition includes the unary-cardinality prefix.

@[reducible, inline]

A relation-table cell or one entry in a constant's one-hot block.

Equations
Instances For

    Number of bits in the relation tables and constant blocks.

    Equations
    Instances For

      Table sites in the computable order used by the structure encoder.

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

        Full encoded length, including the unary cardinality and its terminator.

        Equations
        Instances For

          Zero-based bit position of a table entry in the full encoding.

          Equations
          Instances For