Documentation

Complexitylib.DescriptiveComplexity.FirstOrder.Syntax

First-order logic syntax: terms, formulas, sentences, derived connectives.

Follows Immerman Definition 1.11. Terms are variables (de Bruijn indexed) or vocabulary constants. Formulas are indexed by the number of free variables.

Terms of first-order logic over vocabulary V with n free variables.

Instances For

    Formulas of first-order logic over vocabulary V with n free variables.

    Instances For
      @[reducible, inline]

      A sentence is a formula with no free variables.

      Equations
      Instances For

        Material implication.

        Equations
        Instances For

          Biconditional (if and only if).

          Equations
          Instances For

            Verum (always true): ∀x₀. x₀ = x₀. Works at any n including 0.

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

              Size (number of nodes) of a formula.

              Equations
              Instances For