Statistiques
| Révision :

root / CharacterizingPH / draft.tex @ 140

Historique | Voir | Annoter | Télécharger (19,34 ko)

1
\documentclass[a4paper]{article}
2

    
3
\usepackage{amssymb}
4
\usepackage{amsthm}
5
\usepackage{hyperref}
6
\setcounter{tocdepth}{3}
7

    
8
\newtheorem*{conjecture*}{Conjecture}
9
\newcommand{\fph}{\mathbf{PH}}
10

    
11

    
12
\title{Towards an implicit characterisation of the polynomial hierarchy in an unbounded arithmetic \\ {\small Work in progress} }
13
\author{Patrick Baillot \and Anupam Das}
14
\date{ Univ Lyon, CNRS, ENS de Lyon, UCB Lyon 1, LIP
15
	%\\[2ex] \today
16
	}
17
	
18
	\newcommand{\ph}{\mathbf{PH}}
19
	\newcommand{\pspace}{\mathbf{PSPACE}}
20
	\newcommand{\fpspace}{\mathbf{FPSPACE}}
21
	\newcommand{\ptime}{\mathbf{P}}
22
	\newcommand{\fptime}{\mathbf{FP}}
23
	\newcommand{\nc}{\mathbf{NC}}
24
	\newcommand{\ac}{\mathbf{AC}}
25
	\newcommand{\exptime}{\mathbf{EXP}}
26

    
27

    
28
\begin{document}
29
\maketitle
30

    
31
%\begin{itemize}
32
%\item a big picture: logic methods for complexity classes:
33
%
34
%\begin{tabular}{c|c}
35
%ground & higher-order\\
36
%quantifiers  & type-level\\
37
%PSPACE    & $k$-EXP\\
38
%PH  &              P\\
39
%P  &\\
40
%$NC_i$&
41
%\end{tabular}
42
%
43
%\item  state of the art on arithmetics for complexity classes:
44
%
45
%\begin{tabular}{c|c|c|c}
46
%{\small model of comp. $\backslash$ extracted program } & Cobham & mon. constraints & BC-like \\
47
%\hline &&\\
48
%formula & PH, $\square_i$&&\\
49
%               & bounded induction (Buss) &&\\
50
%               \hline &&\\
51
%equational &&& P\\
52
%&&& (intrinsic theories: Leivant) \\
53
%\hline &&\\
54
%applicative &&PH & P \\
55
% &&(Kahle-Oitavem)& (Cantini)
56
%\end{tabular}
57
%\item our goal: explore the properties of implicit complexity arithmetics, and in particular import in the area of implicit complexity some techniques based on the control of first-order quantification, so as to characterize complexity classes between P and PSPACE (in particular PH).
58
%\item an apparent paradox: when one considers induction over arbitrarily quantified formulas the ramified arithmetics
59
%of [Cantini00] and [BellantoniHofmann02] characterize P, while Buss' bounded arithmetic $S_2$ characterizes PH (while restriction to induction over $\Sigma_1$ formulas corresponds to P).
60
%\item the setting we will consider: 
61
%\begin{itemize}
62
%\item classical first order modal logic ($S4$); a predicate $W(.)$ stands for (binary representations of) integers; the modality $\square$ is a tool for managing ramification (as in  [Cantini00, BellantoniHofmann02]), in particular to distinguish safe integers (by $W(.)$) from normal ones ($\square W(.)$), according to Bellantoni-Cook's terminology.
63
%\item \textit{specifications} (or program descriptions) are given by theories over basic formulas consisting in equations (this will be a slight generalization of the setting of intrinsic theories described by Leivant, and used by    [BellantoniHofmann02]).
64
%\end{itemize}
65
%\item Our conjecture: ramified first-order modal classical logic with full induction, for equational programs, characterize the class PH.
66
%
67
%the function algebra characterization of PH we want to use for that is Bellantoni's $\mu$-functions algebra for PH (cf. Bellantoni's PhD thesis).
68
%\end{itemize}
69
%
70
%\newpage
71

    
72
\section{Introduction and motivation}
73
Today, there are countless approaches towards characterising complexity classes via logic.
74
Foremost amongst these lies the proof-theoretic approach, characterising classes as the `representable' functions of some logic or theory.
75
Examples include bounded arithmetic \cite{Buss86book} \cite{Krajicek:1996:BAP:225488} \cite{Cook:2010:LFP:1734064}, applicative theories \cite{Cantini02} \cite{KahOit:13:ph-levels}, intrinsic and ramified theories \cite{Leivant94:intrinsic-theories} \cite{BelHof:02}, fragments of linear logic \cite{GirardSS92:bounded-ll} \cite{Girard94:lll} \cite{Lafont04} \cite{Baillot15} and fragments of intuitionistic logic \cite{Leivant94:found-delin-ptime}.
76

    
77
To some extent there is a distinction between various notions of `representability', namely between logics that type terms computing functions of a given complexity class, and theories that prove the \emph{totality} or \emph{convergence} of programs computing functions in a given complexity class.
78
Perhaps a more important (and somewhat orthogonal) distinction for the \textsc{Dice-Fopara} community is whether the constraints on the logic or theory are \emph{implicit} or \emph{explicit}. The former includes constraints such as ramification, type level and substructural considerations, while the latter includes bounded quantification, e.g.\ \cite{Buss86book}, bounded modalities, e.g.\ \cite{GirardSS92:bounded-ll} etc. This distinction is also naturally exhibited in associated function algebras, e.g. Cobham's \emph{limited} recursion on notation \cite{Cobham} vs.\ Bellantoni and Cook's \emph{predicative} recursion on notation \cite{BellantoniCook92}.
79

    
80
Some correlations abound: explicit bounds are typically far more useful for more fine-grained characterisations of complexity classes, e.g.\ levels of the polynomial or arithmetical hierarchies, and often admit witness extraction methods that remain in a ground type programming language, e.g.\ via recursion theoretic characterisations. Implicit bounds, however, are more often associated with higher-typed programming languages, which are arguably more useful for achieving witness extraction at all for powerful theories such as arithmetic and set theory. Complexity bounds are harder to obtain, but the framework is nonetheless somewhat more desirable since no bounds occur in the characterisation itself \emph{per se}.
81

    
82
In this line of work we attempt to ameliorate the situation by using implicit methods to delineate fine-grained hierarchies of feasible complexity classes, namely the \emph{polynomial hierarchy}, $\ph$.
83
One particular feature of this work that helps make this possible is to break one of the aforementioned correlations: while we use implicit constraints, our witness extraction methods will use only functions of bounded type level. In this way we can naturally appeal to function algebras, which are of ground type in nature, which implicitly characterise $\ph$, namely via \emph{predicative minimisation} \cite{BellantoniThesis}.
84
In order to remain in this class of programs and not get lost with higher types, we appeal to the \emph{witness function method} of extracting programs from proofs, a technique developed by Buss (and independently Mints) which is ideal for extracting ground programs directly from classical proofs in weak theories.
85
This extends work presented in \cite{BaillotDas16}. %at \emph{CSL '16}.
86

    
87
\section{State of the art}
88
As we have already argued, it is natural to expect that characterisations of hierarchies such as $\ph$ are more readily established by using ground or bounded type witness extraction procedures, due to the correspondence between logical searches in a program and the quantification over objects of ground type in a theory.
89
As justification for this position, consider the following table of examples of known characterisations:
90
%, distinguished by the type level of programs extracted:
91

    
92
\bigskip
93

    
94
\begin{tabular}{c|c|c}
95
Class\footnote{All classes can be taken in their functional variations.} &	Ground & Higher order\\
96
	\hline
97
%	quantifiers  & type-level\\
98
	$\nc^i$ - $\ac^i$    & \cite{CloTak:1995:nc-ac}, \cite{Cook:2010:LFP:1734064} & - \\
99
	$\ptime$  &  $S^1_2$ \cite{Buss86book}, \cite{Strahm03}, $V^1$ \cite{Zambella96} \cite{Cook:2010:LFP:1734064} & $\mathit{LLL}$ \cite{Girard94:lll}, $\mathit{SLL}$ \cite{Lafont04} \\
100
	$\Box_i$  & $S^i_2$ \cite{Buss86book}, Kahle-Oitavem & -  \\
101
	$\ph$& $S_2$ & - \\
102
	$\pspace$&  ? & \cite{GaboardiMarionRonchi12} \\
103
%	$k$-$\exptime$ & -  & $\mathit{ELL}(k)$ \\
104
	Elementary & $I\Delta_0 + \exp$  & $\mathit{ELL}\;  \cite{Girard94:lll}$
105
\end{tabular}
106

    
107
\bigskip
108

    
109
\noindent
110
Thus, if we want an implicit characterisation of $\ph$, we should break the apparent (although not universal) link between `implicit' and `higher type'. 
111
%If we restrict to the ground setting, where extracted programs do not make use of higher types, we have the following picture.
112

    
113
% Now, if we restrict to the ground setting, where extracted programs do not make use of higher types, there are still several 
114
  Now, if we zoom on the ground setting, where extracted programs do not make use of higher types, there are still several parameters by which the characterizations can vary, including:
115
 \begin{itemize}
116
   \item how are the functions specified ? By a formula, as in Peano arithmetic, by a first-order equational program, or by an applicative term in the style of combinatory algebra;
117
   \item what is the form of the extracted programs? A program of a bounded recursion class, e.g. of Cobham's algebra, or of a tiered recursion class, e.g. of Bellantoni-Cook's algebra.
118
 \end{itemize}
119
We classify the characterizations from the literature according to these two parameters in  the following table:
120
\bigskip
121
 
122
\begin{tabular}{c|c|c}
123
	{
124
		%\small model of comp. $\backslash$ extracted program 
125
		} & bounded rec. programs & tiered rec. programs \\
126
	\hline &&\\
127
	formula & PH, $\square_i$&\\
128
	& bounded induction (Buss \cite{Buss86book}) &\\
129
	\hline &&\\
130
	equational && P\\
131
	&& (Leivant \cite{Leivant94:intrinsic-theories}) \\
132
	\hline &&\\
133
	applicative &P (Strahm \cite{Strahm03})  & P \\
134
	&PH (Kahle-Oitavem \cite{KahOit:13:ph-levels})& (Cantini \cite{Cantini02})
135
\end{tabular}
136

    
137
%TODO: improve table to make clear columns and rows, explicit and implicit columns.
138
%
139
%\begin{tabular}{c|c|c|c}
140
%	{
141
%		%\small model of comp. $\backslash$ extracted program 
142
%		} & Cobham & mon. constraints & BC-like \\
143
%	\hline &&\\
144
%	formula & PH, $\square_i$&&\\
145
%	& bounded induction (Buss) &&\\
146
%	\hline &&\\
147
%	equational &&& P\\
148
%	&&& (Leivant) \\
149
%	\hline &&\\
150
%	applicative &&PH & P \\
151
%	&&(Kahle-Oitavem)& (Cantini)
152
%\end{tabular}
153

    
154
\bigskip
155

    
156
\noindent
157
Our goal is to extend the approach using extraction of programs of a tiered recursion class (second row), using the equational style of specification (second line), to the whole of the polynomial hierarchy, so  PH and the  $\square_i$ levels.
158
%Our goal is to extend the implicit approach, via variations of Bellantoni-Cook (BC) programs, to the whole of the polynomial hierarchy.
159

    
160
\section{Towards an implicit theory for $\ph$}
161
%As we mentioned, the goal of this work-in-progress is to arrive at an implicit characterisation of PH. 
162
We explain our approach for this work-in-progress in more detail here, referring to previous work when analogous methods are used.
163

    
164
\subsection{Implicit programs for $\ph$}
165
Since we want to remain at ground type, the natural programs in which to extract our witnesses will come from recursion theoretic characterisations, cf.\ the table above. Indeed, as we have already mentioned, we are not aware of any `higher-type' characterisation of $\ph$. 
166
Of these, only the Bellantoni framework from \cite{BellantoniThesis}, which extends BC-programs by \emph{predicative minimisation} constitutes an implicit characterisation, and so we will look to extract our programs into this function algebra, henceforth denoted $\mu$BC.
167

    
168
\subsection{Constraints on induction}
169
An appealing feature of the bounded arithmetic approach is that bounds on (bounded) quantifier alternation in induction formulae precisely delimit the levels of $\ph$, and one of our desiderata is to replicate this property, only for unbounded quantifiers.
170
Naturally, another constraint will be required to stop ourselves from exhausting the arithmetical hierarchy once bounds are dismissed, and for this we use essentially a \emph{ramification} of individuals: explicit predicates $N_0, N_1 , \dots$ will be used similarly to Peano's $N$ predicate to intuitively indicate `how sure' we are that a variable denotes a genuine natural number.
171

    
172
In fact, two predicates will suffice and their relationship is entirely governed by the equation $N_1 (x) \iff \square N_0 (x)$, under the laws of the modal logic $\mathit{S4}$. 
173
The distinction between the two predicates corresponds to the distinction between safe and normal variables in BC-like programs, which was an observation from previous work \cite{BaillotDas16}.
174
A similar phenomenon occurs in Cantini's work \cite{Cantini02}, which presents a characterisation of $\ptime$ in an \emph{applicative theory}, in order to extract BC programs. 
175
While he allows arbitrary alternation of unbounded quantifiers, note that his induction is \emph{positive}, and so universal quantifiers cannot vary over certified natural numbers, i.e.\ individuals in $N$. In fact this sort of unbounded quantification is also compatible with an approach in previous work where we characterised $\ptime$ in a \emph{linear logic}, also extracting BC programs \cite{BaillotDas16}.
176

    
177

    
178

    
179
\subsection{Extraction at ground type}
180
As we did for previous work \cite{BaillotDas16}, we will rely on the \emph{witness function method} for extracting functions at bounded type.
181
This was pioneered by Buss, although independently used by Mints beforehand. The idea is as follows:
182
\begin{enumerate}
183
	\item\label{item:de-morgan} Reduce a proof to \emph{De Morgan} normal form, with formulae over the basis $\{ \bot, \top, \vee , \wedge , \exists, \wedge \}$ and negation restricted to atoms.
184
	\item\label{item:free-cut} Conduct a \emph{free-cut elimination} on the proof, resulting in a proof whose formulae are restricted to
185
	essentially just subformulae of the conclusion, axioms and nonlogical steps.
186
	\item\label{item:interp} Extract witnesses inductively from the proof, with appropriate semantic properties of these programs verified by an interpretation into a (classical) quantifier-free theory.
187
\end{enumerate}
188

    
189
\ref{item:de-morgan} ensures that our extraction works at ground type, rather than higher types which are typically necessary when negation has larger scope.
190
At the same time it preserves the quantifier alternation information that is crucial to distinguishing the levels of $\ph$.
191
\ref{item:free-cut} allows us to assume that all formulae in a proof have logical complexity bounded by that of induction formulae.
192
This means that, when extracting programs via \ref{item:interp}, quantifier alternation of induction formulae corresponds to the depth of minimisation operators in a $\mu$BC program, and so potentially allows for a level-by-level correspondence with the polynomial hierarchy.
193

    
194

    
195
We point out that, in some ways, this is similar to approaches from applicative theories, which use free-cut elimination followed by a direct \emph{realisability} argument.
196
Indeed this could have been possible in our previous work \cite{BaillotDas16}, as Cantini did in his work \cite{Cantini02}, for a characterisation of $\ptime$.
197
However, in this case, since the quantifiers are unbounded the realisability argument is apparently not readily formalised, and it is therefore quite natural to pursue a \emph{bona fide} proof interpretation.
198
For this, it seems we need to go one level higher than type 1 functions to verify semantic properties of witnesses of first-order formulae, themselves considered as genuine type 1 functions. Intuitively this is simply an inlining of \emph{Skolemisation}, although the idea of extending `witness predicates' to type 1 objects resembles methods from second-order bounded arithmetic, e.g.\ \cite{Cook:2010:LFP:1734064}. 
199
Unlike in the bounded arithmetic setting, due to the apparent unboundedness of programs in the $\mu$BC framework, we will need a formal witness predicate implemented itself as a BC-like program, hence the need for a proof interpretation rather than a realisability approach
200
% since we cannot externally certify the complexity of the predicate when unbounded quantifiers abound.
201
Fortunately, we believe that it suffices to consider $\mu$BC-programs with \emph{holes}, rather than a full characterisation of type 2 $\ph$, but verifying that such an approach could work represents the outstanding technical component of this work-in-progress.
202
	
203
	
204
	\subsection{Completeness for PH}
205
	In the other direction, showing completeness for $\ph$, it seems straightforward to formalise a standard argument, e.g.\ from bounded arithmetic \cite{Buss86book}, where applications of minimisation in a program correspond to the \emph{well ordering property} in arithmetic.
206
	This is in turn is a corollary of induction but, in this case, crucially relies on the use of \emph{right-contraction} in the logic.
207
	It seems that this feature is crucial in distinguishing these theories from `linear' variants like in previous work \cite{BaillotDas16}, and in particular work of Bellantoni and Hofmann \cite{BelHof:02} where, without right-contraction, any number of quantifier alternations still corresponds to only polynomial time computation.
208
	
209
%	* PB: I would suggest to skip **
210
%	
211
%	TODO or skip? If so just say that we formalise the standard argument (with explanation, e.g.\ minimisation, WOP, induction) but rely on safety of quantification rather than boundedness, which should come for free by inspection.
212
%	
213
	\subsection{Putting it all together}
214
	
215
To summarise the main goal of this work-in-progress, we are aiming for a variation of the following result:
216
	
217
	
218
\begin{conjecture*}
219
	First-order classical modal logic $\mathit{S4}$ with induction restricted to non-modal formulae, over a suitable set of axioms, characterises the class $\ph$. Bounds on quantifier alternation in induction formulae delimit the levels of $\ph$.
220
\end{conjecture*}
221
	
222
	
223
%	As mentioned, we will 
224
%	
225
%	[copied]
226
%	
227
%	%\item our goal: explore the properties of implicit complexity arithmetics, and in particular import in the area of implicit complexity some techniques based on the control of first-order quantification, so as to characterize complexity classes between P and PSPACE (in particular PH).
228
%	
229
%	the setting we will consider: 
230
%	\begin{itemize}
231
%		\item classical first order modal logic ($S4$); a predicate $W(.)$ stands for (binary representations of) integers; the modality $\square$ is a tool for managing ramification (as in  [Cantini00, BellantoniHofmann02]), in particular to distinguish safe integers (by $W(.)$) from normal ones ($\square W(.)$), according to Bellantoni-Cook's terminology.
232
%		\item \textit{specifications} (or program descriptions) are given by theories over basic formulas consisting in equations (this will be a slight generalization of the setting of intrinsic theories described by Leivant, and used by    [BellantoniHofmann02]).
233
%	\end{itemize}
234
%	
235
	
236
%	the function algebra characterization of PH we want to use for that is Bellantoni's $\mu$-functions algebra for PH (cf. Bellantoni's PhD thesis).
237
%
238
%
239
%
240
%\subsection{Extending previous work}
241
%
242
%
243
%\subsection{Witness function method}
244
%%keep this subsection?
245
%
246
%
247
%\subsection{Relation to previous work}
248
%
249
%an apparent paradox: when one considers induction over arbitrarily quantified formulas the ramified arithmetics
250
%of [Cantini00] and [BellantoniHofmann02] characterize P, while Buss' bounded arithmetic $S_2$ characterizes PH (while restriction to induction over $\Sigma_1$ formulas corresponds to P).
251

    
252
\section{Conclusions}
253
We surveyed the state of the art for representing function classes proof theoretically by logics and theories, and considered the problem of finding an implicit characterisation of $\ph$.
254
Identifying the witness function method as a useful tool for witness extraction at bounded type level, a seemingly important prerequisite for characterising $\ph$, we sought to calibrate an appropriate theory of arithmetic for witness extraction to the $\mu$BC characterisation of $\ph$.
255
We presented a conjecture that a modal theory suffices to carry out this characterisation, based on previous work by ourselves and others \cite{BaillotDas16} \cite{Cantini02} \cite{BelHof:02} and proving this result constitutes the outstanding work-in-progress.
256

    
257
\bibliographystyle{plain}
258
\bibliography{biblio}
259

    
260
\end{document}