Documentation

Complexitylib.DescriptiveComplexity.Numerical.Defs

Canonical numerical predicates for first-order logic #

Append selected numerical relation symbols to an input vocabulary and interpret them canonically on Fin card. Order and BIT are binary; addition and multiplication are ternary graphs of natural arithmetic restricted to the universe, without modular wraparound. BIT takes the number before the bit index.

These extensions use the existing relation atoms, substitution, and semantics. Input relations and constants retain their meanings. Definability with numerical predicates is evaluated only on canonical expansions, so it does not assert invariance under arbitrary permutations of the original input structure.

The numerical-predicate convention follows Immerman's Descriptive Complexity and Schweikardt--Schwentick, A note on the expressive power of linear orders (2011), Section 2, https://lmcs.episciences.org/1008/pdf.

Numerical relations available as designated symbols in a vocabulary extension.

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

    Append numerical relation symbols, preserving the input vocabulary's constants.

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

      The input vocabulary with canonical strict order.

      Equations
      Instances For
        @[reducible, inline]

        The input vocabulary with the canonical BIT predicate.

        Equations
        Instances For

          Expand an input structure by the selected canonical numerical relations.

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

            The computable Boolean version of canonical numerical expansion.

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

              Forget the additional symbols through a quantifier-free first-order interpretation.

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

                Regard an input formula as a formula over the extended numerical vocabulary.

                Equations
                Instances For
                  def Complexity.DescriptiveComplexity.Formula.numerical {V : Vocabulary} {n : ℕ} (predicates : List NumericalPredicate) (r : Fin predicates.length) (args : Fin (predicates.get r).arity → Term (V.withNumerical predicates) n) :
                  Formula (V.withNumerical predicates) n

                  Apply a selected numerical relation symbol to terms in the extended vocabulary.

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

                    Natural addition restricted to the finite universe, without modular wraparound.

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

                      Natural multiplication restricted to the finite universe, without modular wraparound.

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

                        FO definability on the canonical expansions by the selected numerical predicates.

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