Query (complexity)

From testwiki
Revision as of 17:39, 14 January 2021 by imported>Yobot (Fix REFPUNCT + other minor fixes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In descriptive complexity, a query is a mapping from structures of one signature to structures of another vocabulary. Neil Immerman, in his book Descriptive Complexity,[1] "use[s] the concept of query as the fundamental paradigm of computation" (p. 17).

Given signatures σ and τ, we define the set of structures on each language, STRUC[σ] and STRUC[τ]. A query is then any mapping

I:STRUC[σ]STRUC[τ]

Computational complexity theory can then be phrased in terms of the power of the mathematical logic necessary to express a given query.

Order-independent queries

A query is order-independent if the ordering of objects in the structure does not affect the results of the query. In databases, these queries correspond to generic queries (Immerman 1999, p. 18). A query is order-independent iff I(𝔄)I(𝔅) for any isomorphic structures 𝔄 and 𝔅.

References


Template:Comp-sci-theory-stub