Math 2.0

Proposition

Formula complexity

Statement

A set of binary strings is definable in S2S if and only if it is regular (i.e. forms a regular language). In S1S, a (unary) predicate on sets is (parameter-free) definable if and only if it is an ω-regular language. For S2S, for formulas that use their free variables only on strings not containing a 1, the expressiveness is the same as for S1S.

For every S2S formula φ(S1,...,Sk), (with k free variables) and finite tree of binary strings T, φ(S1∩T,...,Sk∩T) can be computed in time linear in |T| (see Courcelle's theorem), but as noted above, the overhead can be iterated exponential in the formula size (more precisely, the time is O(∣T∣k)+2O(∣ϕ∣)2O(|T|k)+2_{O(|\phi|)}^2).

For S1S, every formula is equivalent to a Δ11 formula, and to a boolean combination of Π02 arithmetic formulas. Moreover, every S1S formula is equivalent to acceptance by a corresponding ω-automaton of the parameters of the formula. The automaton can be a deterministic parity automaton: A parity automaton has an integer priority for each state, and accepts if and only if the highest priority seen infinitely often is odd (alternatively, even).

For S2S, using tree automata (below), every formula is equivalent to a Δ12 formula. Moreover, every S2S formula is equivalent to a formula with just four quantifiers, ∃S∀T∃s∀t ... (assuming that our formalization has both the prefix relation and the successor functions). For S1S, three quantifiers (∃S∀s∃t) suffice, and for WS2S and WS1S, two quantifiers (∃S∀t) suffice; the prefix relation is not needed here for WS2S and WS1S.

However, with free second-order variables, not every S2S formula can be expressed in second-order arithmetic through just Π11 transfinite recursion (see reverse mathematics). RCA0 + (schema) {τ: τ is a true S2S sentence} is equivalent to (schema) {τ: τ is a Π13 sentence provable in Π12-CA0 }. Over a base theory, the schemas are equivalent to (schema over k) ∀S⊆ω ∃α1<...<αk Lα1(S) ≺Σ1 ... ≺Σ1 Lαk(S) where L is the constructible universe (see also large countable ordinal). Due to limited induction, Π12-CA0 does not prove that all true (under the standard decision procedure) Π13 S2S statements are actually true even though each such sentence is provable Π12-CA0.

Moreover, given sets of binary strings S and T, the following are equivalent: (1) T is S2S definable from some set of binary strings polynomial time computable from S. (2) T can be computed from the set of winning positions for some game whose payoff is a finite boolean combination of Π02(S) sets. (3) T can be defined from S in arithmetic μ-calculus (arithmetic formulas + least fixed-point logic) (4) T is in the least β-model (i.e. an ω-model whose set-theoretic counterpart is transitive) containing S and satisfying all Π13 consequences of in Π12-CA0.

Proof sketch:

Further reading

  1. Wikipedia, page 72252525, revision 1359919666, S2S (mathematics), section Formula complexity. adopted
About this page
TagD3C15GJE8D
URIm2://D3C15GJE8D
Kindstatement, proposition
WritingW0 stub
StatusThis copy of the site has no build data. Run m2 status D3C15GJE8D.
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • edge uses out: each definition that the statement needs (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.