# Bounded arithmetic

Bounded arithmetic is a collective name for a family of weak subtheories of Peano arithmetic. Such theories are typically obtained by requiring that quantifiers be bounded in the induction axiom or equivalent postulates (a bounded quantifier is of the form ∀x ≤ t or ∃x ≤ t, where t is a term not containing x). The main purpose is to characterize one or another class of computational complexity in the sense that a function is provably total if and only if it belongs to a given complexity class. Further, theories of bounded arithmetic present uniform counterparts to standard propositional proof systems such as Frege system and are, in particular, useful for constructing polynomial-size proofs in these systems. The characterization of standard complexity classes and correspondence to propositional proof systems allows to interpret theories of bounded arithmetic as formal systems capturing various levels of feasible reasoning (see below).
The approach was initiated by Rohit Jivanlal Parikh in 1971, and later developed by Samuel R. Buss. and a number of other logicians.

## Theories
### Cook's equational theory

Stephen Cook introduced an equational theory $PV$ (for Polynomially Verifiable) formalizing feasibly constructive proofs (resp. polynomial-time reasoning). The language of $PV$ consists of function symbols for all polynomial-time algorithms introduced inductively using Cobham's characterization of polynomial-time functions. Axioms and derivations of the theory are introduced simultaneously with the symbols from the language. The theory is equational, i.e. its statements assert only that two terms are equal. A popular extension of $PV$ is a theory $PV_{1}$, an ordinary first-order theory. Axioms of $PV_{1}$ are universal sentences and contain all equations provable in $PV$. In addition, $PV_{1}$ contains axioms replacing the induction axioms for open formulas.

### Buss's first-order theories

Samuel Buss introduced first-order theories of bounded arithmetic $S_{2}^{i}$. $S_{2}^{i}$ are first-order theories with equality in the language $L=\{0,S,+,\cdot ,\sharp ,|x|,\lfloor {\frac {x}{2}}\rfloor \}$, where the function $|x|$ is intended to designate $\lceil \log(x+1)\rceil$ (the number of digits in the binary representation of $x$) and $x\sharp y$ is $2^{|x|\cdot |y|}$. (Note that $|x\sharp x|\sim |x|^{2}$, i.e. $\sharp$ allows to express polynomial bounds in the bit-length of the input.) Bounded quantifiers are expressions of the form $\exists x\leq t\dots :=\exists x(x\leq t\wedge \dots )$, $\forall x\leq t\dots :=\forall x(x\leq t\rightarrow \dots )$, where $t$ is a term without an occurrence of $x$. A bounded quantifier is sharply bounded if $t$ has the form of $|s|$ for a term $s$. A formula $\phi$ is sharply bounded if all quantifiers in the formula are sharply bounded. The hierarchy of $\Sigma _{i}^{b}$ and $\Pi _{i}^{b}$ formulas is defined inductively: $\Sigma _{0}^{b}=\Pi _{0}^{b}$ is the set of sharply bounded formulas. $\Sigma _{i+1}^{b}$ is the closure of $\Pi _{i}^{b}$ under bounded existential and sharply bounded universal quantifiers, and $\Pi _{i+1}^{b}$ is the closure of $\Sigma _{i}^{b}$ under bounded universal and sharply bounded existential quantifiers. Bounded formulas capture the polynomial-time hierarchy: for any $i\geq 1$, the class $\Sigma _{i}^{P}$ coincides with the set of natural numbers definable by $\Sigma _{i}^{b}$ in $\mathbb {N}$ (the standard model of arithmetic) and dually $\Pi _{i}^{b}=\Pi _{i}^{P}(\mathbb {N} )$. In particular, $NP=\Sigma _{1}^{b}(\mathbb {N} )$.
The theory $S_{2}^{i}$ consists of a finite list of open axioms denoted BASIC and the polynomial induction schema
    $\phi (0)\wedge \forall x\leq a(\phi (\lfloor {\frac {x}{2}}\rfloor )\rightarrow \phi (x))\rightarrow \phi (a)$
where $\phi \in \Sigma _{i}^{b}$.

## Buss's witnessing theorem

Buss (1986) proved that $\Sigma _{1}^{b}$ theorems of $S_{2}^{1}$ are witnessed by polynomial-time functions.
   Theorem (Buss 1986)
   Assume that $S_{2}^{1}\vdash \forall x\exists y\phi (x,y)$, with $\phi \in \Sigma _{1}^{b}$. Then, there exists a $PV$-function symbol $f$ such that $PV\vdash \forall x\phi (x,f(x))$.
Moreover, $S_{2}^{1}$ can $\Sigma _{1}^{b}$-define all polynomial-time functions. That is, $\Sigma _{1}^{b}$-definable functions in $S_{2}^{1}$ are precisely the functions computable in polynomial time. The characterization can be generalized to higher levels of the polynomial hierarchy.

## Correspondence to propositional proof systems

Theories of bounded arithmetic are often studied in connection to propositional proof systems. Similarly as Turing machines are uniform equivalents of nonuniform models of computation such as Boolean circuits, theories of bounded arithmetic can be seen as uniform equivalents of propositional proof systems. The connection is particularly useful for constructions of short propositional proofs. It is often easier to prove a theorem in a theory of bounded arithmetic and translate the first-order proof into a sequence of short proofs in a propositional proof system than to design short propositional proofs directly in the propositional proof system.
The correspondence was introduced by S. Cook.
Informally, a $\Pi _{1}^{b}$ statement $\forall x\Phi (x)$ can be equivalently expressed as a sequence of formulas $\Phi _{n}(x):=\forall x(|x|=n\rightarrow \Phi (x))$. Since $\Phi _{n}(x)$ is a coNP predicate, each $\Phi _{n}(x)$ can be in turn formulated as a propositional tautology $||\phi ||^{n}$ (possibly containing new variables needed to encode the computation of the predicate $\Phi _{n}$).
   Theorem (Cook 1975)
   Assume that $S_{2}^{1}\vdash \forall x\Phi (x)$, where $\Phi \in \Pi _{1}^{b}$. Then tautologies $||\phi ||^{n}$ have polynomial-size Extended Frege proofs. Moreover, the proofs are constructible by a polynomial-time function and $PV$ proves this fact.
Further, $S_{2}^{1}$ proves the so called reflection principle for Extended Frege system, which implies that Extended Frege system is the weakest proof system with the property from the theorem above: each proof system satisfying the implication simulates Extended Frege.
An alternative translation between second-order statements and propositional formulas given by Jeff Paris and Alex Wilkie (1985) has been more practical for capturing subsystems of Extended Frege such as Frege or constant-depth Frege.