Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Second-order logic
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Relation to computational complexity== {{anchor|Applications to complexity|relation to computational complexity}} The expressive power of various forms of second-order logic on finite structures is intimately tied to [[computational complexity theory]]. The field of [[descriptive complexity]] studies which computational [[complexity class]]es can be characterized by the power of the logic needed to express languages (sets of finite strings) in them. A string ''w'' = ''w''<sub>1</sub>···''w<sub>n</sub>'' in a finite alphabet ''A'' can be represented by a finite structure with domain ''D'' = {1,...,''n''}, unary predicates ''P<sub>a</sub>'' for each ''a'' ∈ ''A'', satisfied by those indices ''i'' such that ''w<sub>i</sub>'' = ''a'', and additional predicates that serve to uniquely identify which index is which (typically, one takes the graph of the successor function on ''D'' or the order relation <, possibly with other arithmetic predicates). Conversely, the [[Cayley table]]s of any finite structure (over a finite [[signature (logic)|signature]]) can be encoded by a finite string. This identification leads to the following characterizations of variants of second-order logic over finite structures: * REG (the [[regular language]]s) is the set of languages definable by monadic, second-order formulas ([[Büchi-Elgot-Trakhtenbrot theorem]], 1960) * [[NP (complexity)|NP]] is the set of languages definable by existential, second-order formulas ([[Fagin's theorem]], 1974). * [[co-NP]] is the set of languages definable by universal, second-order formulas. * [[PH (complexity)|PH]] is the set of languages definable by second-order formulas. * [[PSPACE]] is the set of languages definable by second-order formulas with an added [[transitive closure]] operator. * [[EXPTIME]] is the set of languages definable by second-order formulas with an added [[least fixed point]] operator. Relationships among these classes directly impact the relative expressiveness of the logics over finite structures; for example, if '''PH''' = '''PSPACE''', then adding a transitive closure operator to second-order logic would not make it any more expressive over finite structures.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)