Documentation

DescriptiveComplexity.Counting.Digits.NormalForm

The normal form of FP: every problem of FP is digit-definable #

DescriptiveComplexity.FPDefinable.digitDefinable: a counting problem defined in QFO(LFP) – a quantitative term, with sums and products over the universe, read at a least fixed point (DescriptiveComplexity.FPDefinable) – has its binary digits defined by a least fixed point (DescriptiveComplexity.DigitDefinable). This is the half of the theorem that QFO(LFP) captures FP (Arenas, Muñoz, Riveros 2020, Theorem 4.4) saying that a term is evaluated in polynomial time, read through the Immerman–Vardi theorem; it is proved here inside the logic, with no machine.

The construction #

The least fixed point of a definition in QFO(LFP), as an inflationary induction: the base of the tower.

Equations
Instances For
    Dependency graph

    The output term of a definition, over the base of the tower.

    Equations
    Instances For
      Dependency graph
      Dependency graph
      noncomputable def DescriptiveComplexity.Digits.finalF {L : FirstOrder.Language} {d : QLFPDef L} {e : StepDef (L.sum FirstOrder.Language.order)} {ℓ M : ℕ} (x : (baseStep d).Ext e) (jD : e.B.lang.Relations (0 + ℓ)) (χ : ℕ → ((L.sum FirstOrder.Language.order).sum (baseStep d).B.lang).Formula Empty) (τ : Fin (M + 1)) :

      The digits of one group: on a one-element structure, the digit of the value whose rank is the number of the group; otherwise the digits computed by the tower, all in the first group.

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

        Every problem of FP is digit-definable: the normal form of the capture theorem for QFO(LFP), proved inside the logic.

        Dependency graph