Documentation

Complexitylib.DescriptiveComplexity.Examples

Examples of Finite Structures #

Concrete examples from Immerman Chapter 1:

A directed graph on 3 vertices {0, 1, 2} with edges 0→1, 1→2, 2→0 (a directed 3-cycle).

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

    Another directed 3-cycle: edges 0→2, 2→1, 1→0. This is isomorphic to cycle3 via the permutation 0↦0, 1↦2, 2↦1.

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

      An isomorphism between the two 3-cycles, via the permutation 0↦0, 1↦2, 2↦1.

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

        The binary string "101" of length 3: positions 0 and 2 are 1-bits. The linear ordering is built-in via Fin 3.

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

          The two example 3-cycles satisfy exactly the same first-order sentences: they are isomorphic (cycle3Iso), and first-order logic cannot distinguish isomorphic structures. An end-to-end check of the isomorphism-invariance chain.