Lably
Skip to content

Descriptive complexity theory

Branch of mathematical logic

  • 8 min read
  • 7 chapters

Related on Lably

Through Logic, Universal quantification and Relation (mathematics)

Specifically, each logical system produces a set of queries expressible in it. The queries – when restricted to finite structures – correspond to the computational problems of traditional complexity theory.

The first main result of descriptive complexity was Fagin's theorem, shown by Ronald Fagin in 1974. It established that NP is precisely the set of languages expressible by sentences of existential second-order logic; that is, second-order logic excluding universal quantification over relations, functions, and subsets. Many other classes were later characterized in such a manner.

The setting

When we use the logic formalism to describe a computational problem, the input is a finite structure, and the elements of that structure are the domain of discourse. Usually the input is either a string (of bits or over an alphabet) and the elements of the logical structure represent positions of the string, or the input is a graph and the elements of the logical structure represent its vertices. The length of the input will be measured by the size of the respective structure. Whatever the structure is, we can assume that there are relations that can be tested, for example "E(x,y) is true if and only if there is an edge from x to y" (in case of the structure being a graph), or "P(n) is true if and only if the nth letter of the string is 1." These relations are the predicates for the first-order logic system. We also have constants, which are special elements of the respective structure, for example if we want to check reachability in a graph, we will have to choose two constants s (start) and t (terminal).

In descriptive complexity theory we often assume that there is a total order over the elements and that we can check equality between elements. This lets us consider elements as numbers: the element x represents the number n if and only if there are (n−1) elements y with y<x. Thanks to this we also may have the primitive predicate "bit", where bit(x,k) is true if only the kth bit of the binary expansion of x is 1. (We can replace addition and multiplication by ternary relations such that plus(x,y,z) is true if and only if x+y=z and times(x,y,z) is true if and only if x∗y=z).

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Topics in mathematics