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 the definition is an inflationary induction
(
DescriptiveComplexity.LFPDef.toStepDef); above it, a tower of strata computes the digits of the term modulo2 ^ (n ^ ℓ), for anyℓ(DescriptiveComplexity.Digits.dig_term). - On a structure with
n ≥ 2elements the value is below2 ^ (n ^ ℓ)for a suitableℓ(DescriptiveComplexity.QTerm.exists_bound), so these are its digits. On a one-element structure the tuples are too few, and the digits are given directly by formulas (DescriptiveComplexity.QTerm.exists_formulas). One last first-order stratum puts the two cases together, inM + 1groups of digits (DescriptiveComplexity.Digits.finalF). - The tower is one inflationary induction, whose limit is a least fixed point
of rules (
DescriptiveComplexity.IFPLfp.homAssign_lfpAssign_trRules).
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
“The structure has one element.”
Equations
Instances For
Dependency graph
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.