Index: CharacterizingPH/draft.tex
===================================================================
--- CharacterizingPH/draft.tex	(revision 132)
+++ CharacterizingPH/draft.tex	(revision 133)
@@ -1,14 +1,16 @@
-\documentclass[10pt,a4paper]{article}
+\documentclass[a4paper]{article}
 
 \usepackage{amssymb}
 \usepackage{amsthm}
 
 
-\newtheorem{conjecture}{Conjecture}
+\newtheorem*{conjecture*}{Conjecture}
 
-\title{Towards an implicit characterisation of the polynomial hierarchy}
+\title{Towards an implicit characterisation of the polynomial hierarchy \\ {\small Work in progress} }
 \author{Patrick Baillot \and Anupam Das}
-\date{ ENS de Lyon \\[2ex] \today}
+\date{ ENS de Lyon 
+	%\\[2ex] \today
+	}
 
 
 \begin{document}
@@ -121,39 +123,81 @@
 
 \section{Towards an implicit theory for PH}
 %As we mentioned, the goal of this work-in-progress is to arrive at an implicit characterisation of PH. 
-We explain our approach in more detail here.
+We explain our approach for this work-in-progress in more detail here, referring to previous work when anologous methods are used.
 
-[copied]
+\subsection{Implicit programs for PH}
+Since we want to remain at ground type, the natural programs in which to extract our witnesses will be recursion theoretic schemes, i.e.\ function algebras, cf.\ the table above. Indeed, as we have already mentioned, we are not aware of any `higher-type' characterisation of PH. 
+Of these, only the Bellantoni framework, 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.
 
-	%\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).
+\subsection{Constraints on induction}
+An appealing feature of the bounded arithmetic approach is that bounds on (bounded) quantifier alternation in induction formulae cleanly delimit the levels of PH, and one of our desiderata is to replicate this property, only for unbounded quantifiers.
+Naturally, another constraint will be necessary to stop ourselves from exhausting the arithmetical hierarchy, and for this we use essentially a 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 natural number.
 
-	the setting we will consider: 
-	\begin{itemize}
-		\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.
-		\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]).
-	\end{itemize}
+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 $S4$. The distinction between the two predicates corresponds precisely to the distinction between safe and normal variables in BC-like programs, which was an observation from previous work.
+A similar phenomenon occurs in Cantini's work, which presents a characterisation of P in an applicative theories, extracting BC programs. 
+While he allows unbounded quantification, 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 P in a linear logic, extracting BC programs.
+
+
+
+\subsection{Extraction at ground type}
+As we did for previous work, we will rely on the \emph{witness function method} for extracting functions at bounded type.
+This was pioneered by Buss, although independently used by Mints beforehand. The idea is as follows:
+\begin{itemize}
+	\item TODO
+\end{itemize}
+
+TODO: copy this description from previous work.
+
+We point out that in some ways this is similar to approaches from applicative theories, which use free-cut elimination followed by a direct realisability argument.
+Indeed this could have been possible in our previous work, as Cantini did in his work, for a characterisation of P.
+However, in this case, since the quantifiers are unbounded the realisability argument is not readily formalised, and it is quite natural to pursue a bona fide proof interpretation.
+For this, we need to go one level higher than type 1 functions, considering witnesses of first-order formulae as genuine type 1 functions, in the natural way via Skolemisation. 
+We now need a formal witness predicate implemented itself as a BC-like function, since we cannot externally certify the complexity of the predicate when unbounded quantifiers abound.
+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 major technical component of this work.
 	
+	
+	\subsection{Completeness for PH}
+	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.
+	
+	\subsection{Putting it all together}
+	
 	We are aiming for the following result:
 	
 	
-\begin{conjecture}
-	ramified first-order modal classical logic with full induction, for equational programs, characterize the class PH.
-\end{conjecture}	 
+\begin{conjecture*}
+	First-order classical modal logic $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.
+\end{conjecture*}
 	
-	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).
+	
+%	As mentioned, we will 
+%	
+%	[copied]
+%	
+%	%\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).
+%	
+%	the setting we will consider: 
+%	\begin{itemize}
+%		\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.
+%		\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]).
+%	\end{itemize}
+%	
+	
+%	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).
+%
+%
+%
+%\subsection{Extending previous work}
+%
+%
+%\subsection{Witness function method}
+%%keep this subsection?
+%
+%
+%\subsection{Relation to previous work}
+%
+%an apparent paradox: when one considers induction over arbitrarily quantified formulas the ramified arithmetics
+%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).
 
-
-We now explain some of the concepts and techniques in more detail.
-
-\subsection{Witness function method}
-%keep this subsection?
-
-
-\subsection{Relation to previous work}
-
-an apparent paradox: when one considers induction over arbitrarily quantified formulas the ramified arithmetics
-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).
-
 \section{Conclusions}
 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.
 Identifying the witness function method as a useful tool for witness extraction at bounded type level, a seemingly important prerequisite for PH, we sought to calibrate an appropriate theory of arithmetic for witness extraction to a BC-like characterisation of PH.
