Documentation

Complexitylib.DescriptiveComplexity.Structure

Finite Structures #

A finite structure over a vocabulary V interprets each relation symbol as a relation on a finite universe Fin card, and each constant symbol as an element of that universe.

Following Immerman's Proviso 1.15, all structures have at least 2 elements, ensuring that the built-in constants 0 and 1 are always distinct.

Built-in numeric predicates (min, max, ≤, succ) are not stored in the structure but computed from the Fin ordering (Proviso 1.14).

A finite structure over vocabulary V. The universe is Fin card. Following Proviso 1.15, we require card ≥ 2.

Instances For

    STRUC V denotes finite structures over vocabulary V.

    Equations
    Instances For

      The minimum element of the universe (built-in constant 0).

      Equations
      Instances For

        The maximum element of the universe (built-in constant card - 1).

        Equations
        Instances For

          The element 1 of the universe (built-in constant).

          Equations
          Instances For

            The built-in less-than-or-equal relation on the universe.

            Equations
            Instances For

              The built-in successor relation: sucRel a b iff b = a + 1.

              Equations
              Instances For

                The built-in constants 0 and 1 are distinct (follows from Proviso 1.15).

                A decidable finite structure: relations are Bool-valued.

                Instances For

                  Convert a decidable structure to a propositional one.

                  Equations
                  Instances For