Révision 101
| CSL16/draft/conclusions.tex (revision 101) | ||
|---|---|---|
| 1 |
%\section{Conclusions}
|
|
| 2 |
|
|
| 3 |
\section{Conclusions}
|
|
| 4 |
|
|
| 5 |
As mentioned in the introduction, our motivation for this work is to conduct a proof-theoretic study of first-order theories in linear logic, in particular to construct theories corresponding to various functional complexity classes. |
|
| 6 |
|
|
| 7 |
We proved a general form of `free-cut elimination' that generalises forms occurring in prior works, e.g.\ \cite{LincolnMSS92} \anupam{mention Baelde/Miller?}. Our starting point was an axiomatisation proposed by Bellantoni and Hofmann in \cite{BelHof:02}, adapted to the linear logic setting. We identified a fragment, $\arith$, of the arithmetic that is sound and complete with respect to polynomial-time functions, using the free-cut elimination theorem and witness function method that is common in bounded arithmetic and applicative theories.
|
|
| 8 |
|
|
| 9 |
% To see if analogues of various results can be useful for the construction of theories corresponding to various complexity classes. In particular we are interested in the following conventions: |
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
%An alternative to \ref{item:crit-implicit-complexity} is the use of, say, bounded quantifiers, as done in bounded arithmetic \cite{Buss86book}.
|
|
| 15 |
% |
|
| 16 |
%Regarding \ref{item:crit-ground-type}, almost all approaches
|
|
| 17 |
|
|
| 18 |
\subsection{Related work}
|
|
| 19 |
From the point of view of constructing theories for complexity classes, the choice of linear logic and witness function method satisfies two particular desiderata: |
|
| 20 |
|
|
| 21 |
\begin{enumerate}
|
|
| 22 |
\item\label{item:crit-implicit-complexity} Complexity controlled by `implicit' means.
|
|
| 23 |
%, e.g.\ modalities or ramification, as in \cite{Leivant94:found-delin-ptime}.
|
|
| 24 |
\item\label{item:crit-ground-type} Extraction of programs using only ground types.
|
|
| 25 |
\end{enumerate}
|
|
| 26 |
|
|
| 27 |
From this point of view, the most relevant related work is that of Cantini \cite{Cantini02}, based on an \emph{applicative theory}, which we recently became aware of. The main difference here is the choice of model of computation: Cantini uses terms of combinatory logic, whereas we use equational specifications (ESs). This choice necessitates a vastly different proof-theoretic treatment. In particular, equality between terms is not decidable in the ES framework, and so there is no apparent constructive interpretation of the right-contraction rule, which usually requires a `test' function. This is why Bellantoni and Hofmann require a double-negation translation into intuitionistic logic and the use functionals at higher types, and why Leivant disregards classical logic altogether in \cite{Leivant94:found-delin-ptime}. Notice that this is precisely why our use of linear logic is important: the control of $?$ occurrences in a proof allows us to sidestep this problem. At the same time we are able to remain in a classical linear setting. We do not think that either model of computation is better, but rather that it is interesting to observe how such a choice affects the proof-theoretic considerations at hand.
|
|
| 28 |
|
|
| 29 |
Our use of linear logic can, in some sense, be seen as a refinement of Leivant's result in \cite{Leivant94:found-delin-ptime}, where positive existential comprehension in intuitionistic second-order logic is found to correspond to polynomial time. The necessity of intuitionistic logic is since any double-negation translation from classical logic would break the positivity criterion. In this work we have observed that the further restriction to non-modal formulae in nonlogical rules is sufficient to carry out a witnessing argument directly from a classical setting, while remaining complete for polynomial-time functions. \todo{comprehension vs induction. Check this is not bullshit!}
|
|
| 30 |
\patrick{hmm, I am not sure I understand how our use of linear logic can be viewed as a refinement of this work.}
|
|
| 31 |
|
|
| 32 |
Most works on the relationships between linear logic and complexity fit in the approach of the proofs-as-programs correspondence and study variants of linear logic with weak exponential modalities, e.g.\ bounded linear logic \cite{GirardSS92:bounded-ll}, light linear logic and elementary linear logic \cite{Girard94:lll}. However, Terui considers a na\"ive set theory \cite{Terui04} that is also sound and complete for polynomial time and is based on light linear logic\footnote{He also presents a cut-elimination result but, interestingly, it is entirely complementary to that which we present here: he obtains full cut-elimination since he works in a system without full exponentials and with Comprehension as the only nonlogical axiom. Since the latter admits a cut-reduction step, the former ensures that cut-elimination eventually terminates by a \emph{height-based} argument, contrary to our argument that analyses the \emph{degrees} of cut-formulae.}. His approach relies on functionals at higher type, using light linear logic to type the extracted functionals. Another work using linear logic to characterize complexity classes by using totality proofs is \cite{Lasson11} but it is tailored for second-order logic.
|
|
| 33 |
The status of first-order theories is more developed for other substructural logics, for instance \emph{relevant logic} [cite?], although we do not know of any works connecting such logics to computational complexity.
|
|
| 34 |
|
|
| 35 |
%Most works on the relationships between linear logic and complexity concern the construction of \emph{type systems}, e.g.\ bounded linear logic \cite{GirardSS92:bounded-ll}, light linear logic and elementary linear logic \cite{Girard94:lll}, soft linear logic \cite{Lafont04}. However, Terui considers a na\"ive set theory \cite{Terui04} that is also sound and complete for polynomial time and is based on light linear logic. His approach relies on functionals at higher type, using light linear logic to type the extracted functionals.\footnote{He also presents a cut-elimination result but, interestingly, it is entirely complementary to that which we present here: he obtains full cut-elimination since he works in a system without full exponentials and with Comprehension as the only nonlogical axiom. Since the latter admits a cut-reduction step, the former ensures that cut-elimination eventually terminates by a \emph{height-based} argument, contrary to our argument that analyses the \emph{degrees} of cut-formulae.} The status of first-order theories is more developed for other substructural logics, for instance \emph{relevant logic} [cite?], although we do not know of any works connecting such logics to computational complexity.
|
|
| 36 |
|
|
| 37 |
Concerning the relationship between linear logic and safe recursion, note that an embedding of a variant of safe recursion into light linear logic has been carried studied in \cite{Murawski04}, but this is in the setting of functional computation and is quite different from the present approach. Observe however that a difficulty in this setting was the non-linear treatment of safe arguments which here we manage by including in our theory a duplication axiom for $W$.
|
|
| 38 |
|
|
| 39 |
We have already mentioned the work of Bellantoni and Hofmann \cite{BelHof:02}, which was somewhat the inspiration behind this work. Our logical setting is very similar to theirs, under a certain identification of symbols, but there is a curious disconnect in our use of the additive disjunction for the $\surj$ axiom. They rely on just one variant of disjunction. As we said, they rely on a double-negation translation and thus functionals at higher-type.
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
\anupam{mention bounded arithmetic?}
|
|
| 43 |
% |
|
| 44 |
%Finally, the approach of bounded arithmetic |
|
| 45 |
% |
|
| 46 |
%In summary, as far we |
|
| 47 |
% |
|
| 48 |
% |
|
| 49 |
%****** |
|
| 50 |
% |
|
| 51 |
% |
|
| 52 |
% |
|
| 53 |
%As far as we know no approach to has combined a basis in linear (or a related) logic with a solely proof theoretic witnessing argument, such as the witness function method. |
|
| 54 |
% |
|
| 55 |
% |
|
| 56 |
% |
|
| 57 |
% |
|
| 58 |
%In summary, it is promising that free-cut elimination and the witness function method can be used to extract similar complexity results to those obtained in bounded arithmetic. |
|
| 59 |
|
|
| 60 |
|
|
| 61 |
|
|
| 62 |
\subsection{Further work}
|
|
| 63 |
\todo{finish!}
|
|
| 64 |
|
|
| 65 |
Say something about minimisation and the polynomial hierarchy. Could be achieved by controlling contraction/additives, since this requires a notion of tests. |
|
| 66 |
|
|
| 67 |
As we mentioned in the context section, there are many choices of model of computation when constructing theories. Applicative theories use combinatory algebra and in this work we have used equational specifications. Theories of bounded arithmetic, however, use arithmetic formulae to code computation sequences. The advantage of this is that any closed formula can be evaluated, and so equality is decidable. |
|
| 68 |
|
|
| 69 |
We think the true power of the witness function method lies in an approach such as this, although we |
|
| 70 |
|
|
| 71 |
|
|
| 72 |
Polynomial hierarchy? Cite Reinhard/Isobel and their cited works. |
|
| 73 |
|
|
| 74 |
\newpage |
|
| 75 |
|
|
| 76 |
|
|
| 77 |
|
|
| 78 |
|
|
| 79 |
|
|
| 80 |
|
|
| 81 |
|
|
| 82 |
|
|
| 83 |
|
|
| 84 |
|
|
| 85 |
******************************************* |
|
| 86 |
\todo{words or integers?}
|
|
| 87 |
% % % % % % % % % % Bullet points % % % % % % % |
|
| 88 |
|
|
| 89 |
Some points, either here or in body of paper: |
|
| 90 |
|
|
| 91 |
\begin{itemize}
|
|
| 92 |
\item Application of free-cut elimination to witnessing arguments: proof of concept. |
|
| 93 |
\item Examine differences between our arithmetic and Bellantoni and Hofmann: (a) our induction rule, is it equivalent? Maybe not. (b) point about their surjectivity axiom: we do not think it works unless they add another axiom, like Leivant's, for the completeness in the conditional case. We can remark that linear logic solves this problem neatly by use of the additives. |
|
| 94 |
\item Point about contraction on right: this is what free-cut elimination + linear logic adequately restricts. This is a problem for any classical theory that uses equational specifications. |
|
| 95 |
\item Regarding Leivant's intrinsic theories: his result about polynomial-time functions being exactly the provably convergent functions of positive existential induction is necessarily in intuitionistic logic. In classical logic he cannot avoid contraction on the right without the linear logic refinement that we have. \anupam{This can be seen as another contribution of our work?}
|
|
| 96 |
\item On the other hand, our completeness argument can be seen as more-or-less what he had in mind, refined to linear logic. |
|
| 97 |
\item Discuss different approaches to arithmetics for complexity/witnessing. Namely: |
|
| 98 |
\begin{itemize}
|
|
| 99 |
\item Programs: terms of combinatory logic vs. formulae of arithmetic vs. equational specifications. |
|
| 100 |
\item Convergence: N predicate vs. $\Pi^0_2$ sentence. |
|
| 101 |
\end{itemize}
|
|
| 102 |
Remark: use of equational specifications necessitates N predicate. Hence contraction problems present, no problem for first two types of programs since there is a notion of execution (either via a well-typing or by seeing formula as a circuit), and so closed programs can be run and we can conduct equality tests for right-contraction steps. |
|
| 103 |
|
|
| 104 |
Remark: another variant in the equational specifications category is when equations are given on lambda-terms, e.g. as in |
|
| 105 |
|
|
| 106 |
Marc Lasson. Controlling Program Extraction in Light Logics. TLCA 2011: 123-137 |
|
| 107 |
|
|
| 108 |
\item We should mention future line of work in bounded-arithmetic style, i.e. using formulas as programs. |
|
| 109 |
\patrick{In particular mention that we conjecture that in this setting induction on Sigma1 formulas (not only positive) would be Ptime sound, if I understand well?}
|
|
| 110 |
|
|
| 111 |
\item Related works: |
|
| 112 |
\begin{itemize}
|
|
| 113 |
\item Discuss differences with line of work on Curry-Howard style implicit complexity, e.g. light linear logic. Mention work of Murawski to relate safe recursion |
|
| 114 |
and LLL: |
|
| 115 |
|
|
| 116 |
Andrzej S. Murawski, C.-H. Luke Ong: |
|
| 117 |
On an interpretation of safe recursion in light affine logic. Theor. Comput. Sci. 318(1-2): 197-223 (2004) |
|
| 118 |
\item related works on free-cut elimination style results in LL (David Baelde?) |
|
| 119 |
\end{itemize}
|
|
| 120 |
\end{itemize}
|
|
| 121 |
|
|
| 122 |
\medskip |
|
| 123 |
|
|
| 124 |
A proposal of organization (Patrick): |
|
| 125 |
\begin{enumerate}
|
|
| 126 |
\item Introduction: |
|
| 127 |
\begin{itemize}
|
|
| 128 |
\item motivate and explain: |
|
| 129 |
\begin{itemize}
|
|
| 130 |
\item free-cut elimination: mention use in bounded arithmetic |
|
| 131 |
\item linear logic: say mainly used for structural proof-theory, proofs-as-programs, proof search ? |
|
| 132 |
\item free cut-elimination for linear logic |
|
| 133 |
\end{itemize}
|
|
| 134 |
\item application in this paper: arithmetic systems for Ptime computability |
|
| 135 |
\begin{itemize}
|
|
| 136 |
\item present Bellantoni-Hofmann's system and Leivant's ramified theory $RT_0$ |
|
| 137 |
\item explain their relationships with implicit computational complexity on the one hand, bounded arithmetic on the other. some words about witnessing method in bounded arithmetic |
|
| 138 |
\item describe our contribution: re-prove a weak version of Bellantoni-Hofmann, by using the witnessing method. |
|
| 139 |
\end{itemize}
|
|
| 140 |
\end{itemize}
|
|
| 141 |
\item Related works section (by the end?): |
|
| 142 |
\begin{itemize}
|
|
| 143 |
\item about complexity: |
|
| 144 |
\begin{itemize}
|
|
| 145 |
\item overview of different approaches to arithmetics for complexity |
|
| 146 |
\item technical comparison of our contribution w.r.t. Bellantoni-Hofmann and w.r.t. Leivant |
|
| 147 |
\item short comparison with Murawski-Ong's study of safe recursion vs. LLL |
|
| 148 |
\end{itemize}
|
|
| 149 |
\item about linear logic: |
|
| 150 |
\begin{itemize}
|
|
| 151 |
\item if not done in the introduction, comparison with free-cut elimination like results by Baelde or others |
|
| 152 |
\end{itemize}
|
|
| 153 |
\end{itemize}
|
|
| 154 |
\item Conclusion and future work: |
|
| 155 |
|
|
| 156 |
mention something about prenexing if needed. |
|
| 157 |
|
|
| 158 |
future work on bounded arithmetic style |
|
| 159 |
\end{enumerate}
|
|
| 160 |
\medskip |
|
| 161 |
|
|
| 162 |
************************************* |
|
| 163 |
|
|
| 164 |
|
|
| 165 |
Comments: |
|
| 166 |
|
|
| 167 |
\vspace{2em}
|
|
| 168 |
|
|
| 169 |
Related works section (by the end?): |
|
| 170 |
\begin{itemize}
|
|
| 171 |
\item about complexity: |
|
| 172 |
\begin{itemize}
|
|
| 173 |
\item overview of different approaches to arithmetics for complexity |
|
| 174 |
\item technical comparison of our contribution w.r.t. Bellantoni-Hofmann and w.r.t. Leivant |
|
| 175 |
\item short comparison with Murawski-Ong's study of safe recursion vs. LLL |
|
| 176 |
\end{itemize}
|
|
| 177 |
\item about linear logic: |
|
| 178 |
\begin{itemize}
|
|
| 179 |
\item if not done in the introduction, comparison with free-cut elimination like results by Baelde or others |
|
| 180 |
\end{itemize}
|
|
| 181 |
\end{itemize}
|
|
| 182 |
|
|
| 183 |
|
|
| 184 |
|
|
| 185 |
|
|
| 186 |
% % % % % % % % % % % % % % % % % % % % % % % % |
|
| 187 |
\subsubsection{Parameters}
|
|
| 188 |
\begin{itemize}
|
|
| 189 |
\item Programs. Equational specifications vs lambda terms vs formulae. |
|
| 190 |
\item Convergence statement. Designated predicate vs $\Pi^0_2$ formula. |
|
| 191 |
\item Source of complexity. Bounded quantifiers (induces Cobham limited recursive programs) vs modalities (induces ramified/safe recursive programs). |
|
| 192 |
\item Proof method. Realisability/Dialectica (higher types) vs Proof theoretic (ground type). |
|
| 193 |
\end{itemize}
|
|
| 194 |
|
|
| 195 |
|
|
| 196 |
\subsubsection{Linear logic and complexity}
|
|
| 197 |
\begin{itemize}
|
|
| 198 |
\item Mostly type systems, e.g.\ bounded/light/soft/elementary linear logic. (Girard, Girard (?), Lafont, ? resp.) |
|
| 199 |
\item Girard/Terui/Grishin naive set theory. Uses realisability. |
|
| 200 |
|
|
| 201 |
|
|
| 202 |
\end{itemize}
|
|
| 203 |
|
|
| 204 |
\subsubsection{Modal systems}
|
|
| 205 |
Modal systems usually model the notion of ramification from Leivant's intrinsic theories. |
|
| 206 |
|
|
| 207 |
\subsection{Witnessing argument}
|
|
| 208 |
Almost all works use a |
|
| 209 |
|
|
| 210 |
refinement of Leivant 94. |
|
| 211 |
|
|
| CSL16/draft/bc-convergence.tex (revision 101) | ||
|---|---|---|
| 1 |
|
|
| 2 |
\section{Convergence of Bellantoni-Cook programs in $\arith$}
|
|
| 3 |
\label{sect:bc-convergence}
|
|
| 4 |
%\anupam{In this section, use whatever form of the deduction theorem is necessary and reverse engineer precise statement later.}
|
|
| 5 |
|
|
| 6 |
In this section we show that $I\sigzer$, and so also $\arith$, proves the convergence of any equational specification induced by a BC program. Since BC programs can compute any polynomial-time function, we obtain a completeness result. In the next section we will show the converse, that any provably convergent function of $\arith$ is polynomial-time computable. |
|
| 7 |
|
|
| 8 |
The underlying construction of the proof here is similar in spirit to those occurring in \cite{Cantini02} and \cite{Leivant94:found-delin-ptime}. In fact, like in those works, only quantifier-free positive induction is required, but here we moreover must take care to respect additive and multiplicative behaviour of linear connectives, thereby achieving a somewhat stronger result.
|
|
| 9 |
|
|
| 10 |
We will assume the formulation of BC programs with regular PRN, not simultaneous PRN. |
|
| 11 |
|
|
| 12 |
|
|
| 13 |
%\subsection{Convergence in arithmetic}
|
|
| 14 |
|
|
| 15 |
%\begin{theorem}
|
|
| 16 |
% [Convergence] |
|
| 17 |
% If $\Phi(f)$ is an equational specification corresponding to a BC-program defining $f$, then $\cax{\Sigma^N_1}{\pind} \proves \ !\Phi(f) \limp \forall \vec{x}^{!N} . N(f(\vec x))$.
|
|
| 18 |
%\end{theorem}
|
|
| 19 |
|
|
| 20 |
%We first want to show that the system ${\Sigma^{\word}_1}-{\pind}$ is expressive enough, that is to say that all polynomial-time functions can be represented by some equational specifications that are provably total. To do so we consider equational specifications of BC-programs.
|
|
| 21 |
\begin{theorem}
|
|
| 22 |
% [Convergence] |
|
| 23 |
\label{thm:arith-proves-bc-conv}
|
|
| 24 |
If $\eqspec$ is a BC program defining a function $f$, then $I\sigzer$ proves $\conv(f, \eqspec)$. |
|
| 25 |
\end{theorem}
|
|
| 26 |
|
|
| 27 |
\anupam{Consider informalising some of these arguments under (some version of) the deduction theorem. Formal stuff can be put in an appendix. Maybe add a remark somewhere about arguing informally under deduction, taking care for non-modalised formulae.}
|
|
| 28 |
|
|
| 29 |
\begin{proof}
|
|
| 30 |
% We write function symbols in $\arith$ with arguments delimited by $;$, as for BC-programs. |
|
| 31 |
We appeal to Lemma~\ref{lemma:spec-norm-form} and show that $\closure{\eqspec} \cup I\sigzer$ proves,
|
|
| 32 |
\begin{equation}
|
|
| 33 |
\label{eqn:prv-cvg-ih}
|
|
| 34 |
\forall \vec{u}^{!\word} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))
|
|
| 35 |
\end{equation}
|
|
| 36 |
We proceed by induction on the structure of a BC program for $f$. |
|
| 37 |
% We give some key cases in what follows. |
|
| 38 |
|
|
| 39 |
Suppose $f$ is defined by PRN as: |
|
| 40 |
\[ |
|
| 41 |
\begin{array}{rcl}
|
|
| 42 |
f(0,\vec v ; \vec x) & = & g(\vec v ; \vec x) \\ |
|
| 43 |
f(\succ_i u , \vec v; \vec x) & = & h_i (u, \vec v ; \vec x , f(u , \vec v ; \vec x)) |
|
| 44 |
\end{array}
|
|
| 45 |
\] |
|
| 46 |
By the inductive hypothesis we already have \eqref{eqn:prv-cvg-ih} for $g,h_0,h_1$ in place of $f$. We construct the following proof:
|
|
| 47 |
\begin{equation}
|
|
| 48 |
\label{eqn:prn-cvg-base}
|
|
| 49 |
\vlderivation{
|
|
| 50 |
\vliq{\beta}{}{!\word(\vec v) , \word (\vec x) \seqar \word(f (\epsilon , \vec v ; \vec x)) }{
|
|
| 51 |
\vliq{\alpha}{}{!\word (\vec v) , \word (\vec x) \seqar \word (g (\vec v ; \vec x) ) }{
|
|
| 52 |
\vltr{\IH}{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x)) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 53 |
} |
|
| 54 |
} |
|
| 55 |
} |
|
| 56 |
\end{equation}
|
|
| 57 |
where $\alpha$ is, |
|
| 58 |
\[ |
|
| 59 |
\vlderivation{
|
|
| 60 |
% \vliin{\cut}{}{ \word (\vec x) \seqar \word ( g (\vec v ; \vec x)) }{
|
|
| 61 |
% \vlin{\rigrul{!}}{}{\seqar !\word (v)}{
|
|
| 62 |
% \vlin{assump}{}{\seqar \word (\vec v)}{\vlhy{}}
|
|
| 63 |
% } |
|
| 64 |
% }{
|
|
| 65 |
\vliin{\cut}{}{ !\word (\vec v ) , \word (\vec x) \seqar \word (g (\vec v ; \vec x )) }{
|
|
| 66 |
\vlhy{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x)) }
|
|
| 67 |
}{
|
|
| 68 |
\vliq{\lefrul{\forall}}{ }{ !\word (\vec v) , \word (\vec x) , \forall \vec v^{!\word} . \forall \vec x^\word \word (g(\vec v ; \vec x )) \seqar \word (g(\vec v ; \vec x )) }{
|
|
| 69 |
\vlin{\id}{}{\word (g(\vec v ; \vec x )) \seqar \word (g(\vec v ; \vec x ))}{\vlhy{}}
|
|
| 70 |
} |
|
| 71 |
} |
|
| 72 |
% } |
|
| 73 |
} |
|
| 74 |
\] |
|
| 75 |
and $\beta$ is: |
|
| 76 |
\[ |
|
| 77 |
\vlderivation{
|
|
| 78 |
\vliin{\cut}{}{!\word (\vec v) , \word (\vec x) \seqar \word ( f ( \epsilon , \vec v ; \vec x ) ) }{
|
|
| 79 |
\vlhy{!\word (\vec v) , \word (\vec x) \seqar \word (g (\vec v ; \vec x) ) }
|
|
| 80 |
}{
|
|
| 81 |
\vliin{\cut}{}{ \word (g (\vec v ; \vec x) ) \seqar \word (f (\epsilon, \vec v ; \vec x) ) }{
|
|
| 82 |
\vlin{\closure{\eqspec}}{}{ \seqar f(\epsilon , \vec v ; \vec x) = g(\vec v ; \vec x) }{\vlhy{}}
|
|
| 83 |
}{
|
|
| 84 |
\vlin{=}{}{\word ( g(\vec v ; \vec x) ) , f(\epsilon , \vec v ; \vec x) = g(\vec v ; \vec x) \seqar \word (f (\epsilon, \vec v ; \vec x) ) }{\vlhy{}}
|
|
| 85 |
} |
|
| 86 |
} |
|
| 87 |
} |
|
| 88 |
\] |
|
| 89 |
|
|
| 90 |
% We first prove, |
|
| 91 |
% \begin{equation}
|
|
| 92 |
% !\word (a) , !\word (\vec v) , \word (\vec x) \land \word (f( a , \vec v ; \vec x ) ) |
|
| 93 |
% \seqar |
|
| 94 |
% \word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) ) |
|
| 95 |
% \end{equation}
|
|
| 96 |
% for $i=0,1$, whence we will apply $\ind$. We construct the following proofs: |
|
| 97 |
|
|
| 98 |
We also construct, for $i=0,1$, the proofs, |
|
| 99 |
\begin{equation}
|
|
| 100 |
\label{eqn:prn-cvg-ind}
|
|
| 101 |
%\vlderivation{
|
|
| 102 |
% \vlin{\rigrul{\limp}}{}{ \word(\vec x) \limp \word ( f(u, \vec v ; \vec x) ) \seqar \word (\vec x) \limp \word( f(\succ_i u , \vec v ; \vec x) ) }{
|
|
| 103 |
% \vliq{\gamma}{}{\word(\vec x), \word(\vec x) \limp \word ( f(u, \vec v ; \vec x) ) \seqar \word( f(\succ_i u , \vec v ; \vec x) ) }{
|
|
| 104 |
% \vliin{\lefrul{\limp}}{}{\word(\vec x), \word(\vec x), \word(\vec x) \limp \word ( f(u, \vec v ; \vec x) ) \seqar \word( f(\succ_i u , \vec v ; \vec x) ) }{
|
|
| 105 |
% \vlin{\id}{}{\word(\vec x) \seqar \word (\vec x) }{\vlhy{}}
|
|
| 106 |
% }{
|
|
| 107 |
% \vliq{\beta}{}{ \word (\vec x) , \word (f(u , \vec v ; \vec x) ) \seqar \word ( f(\succ_i u , \vec v ; \vec x) ) }{
|
|
| 108 |
% \vliq{\alpha}{}{ \word (\vec x) , \word (f(u , \vec v ; \vec x) ) \seqar \word ( h_i( u , \vec v ; \vec x , f( u, \vec v ; \vec x )) ) }{
|
|
| 109 |
% \vltr{IH}{ \seqar \forall u^{!\word}, \vec v^{!\word} . \forall \vec x^\word , y^\word . \word( h_i (u, \vec v ; \vec x, y) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 110 |
% } |
|
| 111 |
% } |
|
| 112 |
% } |
|
| 113 |
% } |
|
| 114 |
% } |
|
| 115 |
% } |
|
| 116 |
\vlderivation{
|
|
| 117 |
\vlin{\lefrul{\land}}{}{ !\word (a) , !\word (\vec v) , \word (\vec x) \land \word (f( a , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) ) }{
|
|
| 118 |
\vlin{\lefrul{\cntr}}{}{ !\word (a) , !\word (\vec v) , \word (\vec x) , \word (f( a , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) )}{
|
|
| 119 |
\vliin{\rigrul{\land}}{}{ !\word (a) , !\word (\vec v) , \word(\vec x), \word (\vec x) , \word (f( a , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) )}{
|
|
| 120 |
\vlin{\id}{}{\word (\vec x) \seqar \word (\vec x)}{\vlhy{}}
|
|
| 121 |
}{
|
|
| 122 |
\vliq{\beta}{}{ !\word (u) , !\word(\vec v) , \word (\vec x) , \word (f ( u , \vec v ; \vec x ) ) \seqar \word (f (\succ_i u , \vec{v} ; \vec x ) ) }{
|
|
| 123 |
\vliq{\alpha}{}{ !\word (u) , !\word (\vec v) , \word (\vec x) , \word (f ( u , \vec v ; \vec x ) ) \seqar \word ( h_i ( u , \vec v ; \vec x , f( u , \vec v ; \vec x ) ) ) }{
|
|
| 124 |
\vltr{\IH}{ \seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word , y^\word . \word ( h_i ( u, \vec v ; \vec x, y ) ) }{ \vlhy{\quad} }{\vlhy{}}{\vlhy{\quad}}
|
|
| 125 |
} |
|
| 126 |
} |
|
| 127 |
} |
|
| 128 |
} |
|
| 129 |
} |
|
| 130 |
} |
|
| 131 |
\end{equation}
|
|
| 132 |
where $\alpha$ and $\beta$ are constructed similarly to before. |
|
| 133 |
|
|
| 134 |
%% so let us suppose that $\word(\vec v)$ and prove, |
|
| 135 |
% \begin{equation}
|
|
| 136 |
%% \forall u^{!\word} . (\word(\vec x) \limp \word(f(u , \vec v ; \vec x) )
|
|
| 137 |
%!\word (u) , !\word (\vec v) , \word (\vec x) \seqar \word ( f(u, \vec v ; \vec x) ) |
|
| 138 |
% \end{equation}
|
|
| 139 |
% by $\cax{\Sigma^N_1}{\pind}$ on $u$. After this the result will follow by $\forall$-introduction for $u, \vec v , \vec x$.
|
|
| 140 |
|
|
| 141 |
% In the base case we have the following proof, |
|
| 142 |
% \[ |
|
| 143 |
% \vlderivation{
|
|
| 144 |
% \vlin{\rigrul{\limp}}{}{ \seqar \word (\vec x) \limp \word (f(\epsilon , \vec v ; \vec x )) }{
|
|
| 145 |
% \vliq{\beta}{}{ \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x) ) }{
|
|
| 146 |
% \vliq{\alpha}{}{ \word (\vec x) \seqar \word ( g (\vec v ; \vec x) ) }{
|
|
| 147 |
% \vltr{IH}{\seqar \forall v^{!\word} . \forall x^\word . \word( g(\vec v ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 148 |
% } |
|
| 149 |
% } |
|
| 150 |
% } |
|
| 151 |
% } |
|
| 152 |
|
|
| 153 |
|
|
| 154 |
Finally we compose these proofs as follows: |
|
| 155 |
|
|
| 156 |
\[ |
|
| 157 |
\vlderivation{
|
|
| 158 |
\vliq{\rigrul{\forall}}{}{ \seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word . \word ( f(u , \vec v ;\vec x) ) }{
|
|
| 159 |
\vliq{\lefrul{\cntr}}{}{ !\word (u), !\word (\vec v) , \word (\vec x) \seqar \word ( f(u , \vec v ;\vec x) ) }
|
|
| 160 |
{
|
|
| 161 |
\vliin{\cut}{}{ !\word (u), !\word(\vec v), !\word (\vec v) , \word (\vec x) , \word (\vec x) \seqar \word ( f(u , \vec v ;\vec x) ) }{
|
|
| 162 |
\vltr{}{ !\word (\vec v) , \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 163 |
} |
|
| 164 |
{
|
|
| 165 |
\vliq{\wk}{}{ !\word (u), !\word (\vec v) , \word (\vec x), \word ( f( \epsilon , \vec v ; \vec x ) ) \seqar \word ( f( u , \vec v ; \vec x ) ) }{
|
|
| 166 |
\vliq{\land\text{-}\mathit{inv}}{}{ !\word (u), !\word (\vec v) , \word (\vec x) ,\word ( f( \epsilon , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word ( f( u , \vec v ; \vec x ) ) }{
|
|
| 167 |
\vlin{\ind}{}{ !\word (u), !\word (\vec v) , \word (\vec x) \land \word ( f( \epsilon , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word ( f( u , \vec v ; \vec x ) ) }
|
|
| 168 |
{
|
|
| 169 |
\vlhy{
|
|
| 170 |
\left\{
|
|
| 171 |
\vltreeder{}{ !\word (a), !\word (\vec v) , \word (\vec x) \word ( f( a , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word ( f( \succ_i u , \vec v ; \vec x ) ) }{\quad}{}{}
|
|
| 172 |
\right\}_{i=0,1}
|
|
| 173 |
} |
|
| 174 |
} |
|
| 175 |
} |
|
| 176 |
} |
|
| 177 |
} |
|
| 178 |
} |
|
| 179 |
} |
|
| 180 |
} |
|
| 181 |
\] |
|
| 182 |
where the steps \todo{minor steps}
|
|
| 183 |
|
|
| 184 |
%For the inductive step, we suppose that $\word (u)$ and the proof is as follows, |
|
| 185 |
% |
|
| 186 |
%where the steps indicated $\alpha$ and $\beta$ are analogous to those for the base case. |
|
| 187 |
%%, and $\gamma$ is an instance of the general scheme: |
|
| 188 |
%%\begin{equation}
|
|
| 189 |
%%\label{eqn:nat-cntr-left-derivation}
|
|
| 190 |
%%\vlderivation{
|
|
| 191 |
%% \vliin{\cut}{}{ \word (t) , \Gamma \seqar \Delta }{
|
|
| 192 |
%% \vlin{\wordcntr}{}{ \word (t) \seqar \word (t) \land \word (t) }{\vlhy{}}
|
|
| 193 |
%% }{
|
|
| 194 |
%% \vlin{\lefrul{\land}}{}{\word (t) \land \word (t) , \Gamma \seqar \Delta}{ \vlhy{\word (t) ,\word (t) , \Gamma \seqar \Delta} }
|
|
| 195 |
%% } |
|
| 196 |
%% } |
|
| 197 |
%%\end{equation}
|
|
| 198 |
% |
|
| 199 |
%% |
|
| 200 |
%%For the inductive step, we need to show that, |
|
| 201 |
%%\[ |
|
| 202 |
%%\forall x^{!N} . (( N(\vec y) \limp N( f(x, \vec x ; \vec y) ) ) \limp N(\vec y) \limp N(f(\succ_i x , \vec x ; \vec y) ) )
|
|
| 203 |
%%\] |
|
| 204 |
%%so let us suppose that $N(x)$ and we give the following proof: |
|
| 205 |
%%\[ |
|
| 206 |
%%\vlderivation{
|
|
| 207 |
%% \vlin{N\cntr}{}{N(y) \limp ( N(y ) \limp N(f( x , \vec x ; \vec y ) ) ) \limp N(f (\succ_i x , \vec x ; \vec y) ) }{
|
|
| 208 |
%% \vliin{}{}{N(y) \limp N(y) \limp ( N(y ) \limp N(f( x , \vec x ; \vec y ) ) ) \limp N(f (\succ_i x , \vec x ; \vec y) ) }{
|
|
| 209 |
%% \vliin{}{}{ N(y) \limp N(y) \limp ( N(y) \limp N( f(x, \vec x ; \vec y) ) ) \limp N( h_i (x , \vec x ; \vec y , f(x , \vec x ; \vec y) ) ) }{
|
|
| 210 |
%% \vltr{MLL}{( N(\vec y) \limp (N (\vec y) \limp N(f(x, \vec x ; \vec y) )) \limp N(f(x, \vec x ; \vec y)) }{\vlhy{\quad }}{\vlhy{\ }}{\vlhy{\quad }}
|
|
| 211 |
%% }{
|
|
| 212 |
%% \vlhy{2}
|
|
| 213 |
%% } |
|
| 214 |
%% }{
|
|
| 215 |
%% \vlhy{3}
|
|
| 216 |
%%} |
|
| 217 |
%%} |
|
| 218 |
%%} |
|
| 219 |
%%\] |
|
| 220 |
%%TOFINISH |
|
| 221 |
|
|
| 222 |
Suppose $f$ is defined by safe composition as follows: |
|
| 223 |
\[ |
|
| 224 |
f( \vec u ; \vec x ) |
|
| 225 |
\quad = \quad |
|
| 226 |
h( \vec g (\vec u ; ) ; \vec g' ( \vec u ; \vec x ) ) |
|
| 227 |
\] |
|
| 228 |
|
|
| 229 |
By the inductive hypothesis we already have \eqref{eqn:prv-cvg-ih} for $h$ and each $g_i$ and $g_j'$ in place of $f$. We construct the required proof as follows:
|
|
| 230 |
\[ |
|
| 231 |
\vlderivation{
|
|
| 232 |
\vliq{\rigrul{\forall}}{}{ \seqar \forall\vec u^{!\word} . \forall \vec x^\word . \word( f(\vec u ; \vec x ) ) }{
|
|
| 233 |
\vliq{\beta}{}{ !\word (\vec u) , \word (\vec x) \seqar \word ( f( \vec u ; \vec x ) ) }{
|
|
| 234 |
\vliq{\cntr}{}{ !\word (\vec u) , \word (\vec x) \seqar \word ( h( \vec g(\vec u ;) ; \vec g' ( \vec u ; \vec x ) ) ) }{
|
|
| 235 |
\vliiiq{\cut}{}{!\word (\vec u) , \dots , !\word (\vec u) , \word (\vec x) , \dots , \word (\vec x) \seqar \word ( h( \vec g(\vec u ;) ; \vec g' ( \vec u ; \vec x ) ) ) }{
|
|
| 236 |
\vlhy{
|
|
| 237 |
\left\{
|
|
| 238 |
\vlderivation{
|
|
| 239 |
\vlin{\rigrul{!}}{}{ !\word (\vec u) \seqar !\word ( g_i (\vec u ;) ) }{
|
|
| 240 |
\vliq{\alpha}{}{ !\word (\vec u) \seqar \word ( g_i (\vec u ;) }{
|
|
| 241 |
\vltr{\IH}{ \forall \vec u^{!\word} . \word (g_i (\vec u ;) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 242 |
} |
|
| 243 |
} |
|
| 244 |
} |
|
| 245 |
\right\}_{i \leq |\vec g| }
|
|
| 246 |
} |
|
| 247 |
}{
|
|
| 248 |
\vlhy{
|
|
| 249 |
\left\{
|
|
| 250 |
\vlderivation{
|
|
| 251 |
\vliq{\alpha}{}{ !\word ( \vec u ) , \word (\vec x) \seqar \word ( g_j' ( \vec u ; \vec x ) ) }{
|
|
| 252 |
\vltr{\IH}{ \seqar \forall \vec u^{!\word}. \forall \vec x^\word . \word ( g_j' (\vec u ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 253 |
} |
|
| 254 |
} |
|
| 255 |
\right\}_{j \leq |\vec g'|}
|
|
| 256 |
} |
|
| 257 |
}{
|
|
| 258 |
\vliq{\alpha}{}{ !\word ( \vec g (\vec u ;) ) , \word ( \vec g ' ( \vec u ; \vec x ) ) \seqar \word ( h( \vec g(\vec u ;) ; \vec g' ( \vec u ; \vec x ) ) ) ) }{
|
|
| 259 |
\vltr{\IH}{ \seqar \forall \vec v^{!\word} . \forall \vec y^\word . \word ( h( \vec v ; \vec y ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 260 |
} |
|
| 261 |
} |
|
| 262 |
} |
|
| 263 |
} |
|
| 264 |
} |
|
| 265 |
} |
|
| 266 |
\] |
|
| 267 |
where $\alpha$ and $\beta$ are similar to before. |
|
| 268 |
|
|
| 269 |
\todo{reformat a bit}
|
|
| 270 |
|
|
| 271 |
It remains to check the initial functions. |
|
| 272 |
|
|
| 273 |
Consider the conditional function, defined equationally as: |
|
| 274 |
\[ |
|
| 275 |
\begin{array}{rcl}
|
|
| 276 |
C (; \epsilon, y_\epsilon , y_0, y_1 ) & = & y_\epsilon \\ |
|
| 277 |
C(; \succ_0 x , y_\epsilon , y_0, y_1) & = & y_0 \\ |
|
| 278 |
C(; \succ_1 x , y_\epsilon , y_0, y_1) & = & y_1 |
|
| 279 |
\end{array}
|
|
| 280 |
\] |
|
| 281 |
Let $\vec y = ( y_\epsilon , y_0, y_1 )$ and construct the required proof as follows: |
|
| 282 |
\[ |
|
| 283 |
\vlderivation{
|
|
| 284 |
\vliq{}{}{ \word (x) , \word (\vec y) \seqar \word ( C(; x ,\vec y) )}{
|
|
| 285 |
\vliin{2\cdot \laor}{}{ x = \epsilon \laor \exists z^\word . x = \succ_0 z \laor \exists z^\word x = \succ_1 z , \word (\vec y) \seqar \word ( C(;x \vec y) ) }{
|
|
| 286 |
\vliq{}{}{ x = \epsilon , \word (\vec y) \seqar \word ( C(; x , \vec y) ) }{
|
|
| 287 |
\vliq{}{}{ \word (\vec y) \seqar \word ( C( ; \epsilon , \vec y ) ) }{
|
|
| 288 |
\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_\epsilon) }{
|
|
| 289 |
\vlin{\id}{}{\word (y_\epsilon) \seqar \word ( y_\epsilon )}{\vlhy{}}
|
|
| 290 |
} |
|
| 291 |
} |
|
| 292 |
} |
|
| 293 |
}{
|
|
| 294 |
\vlhy{
|
|
| 295 |
\left\{
|
|
| 296 |
\vlderivation{
|
|
| 297 |
\vlin{\lefrul{\exists}}{}{ \exists z^\word . x = \succ_i z , \word (\vec y) \seqar \word ( C(;x , \vec y) ) }{
|
|
| 298 |
\vliq{}{}{ x = \succ_i a , \word (\vec y ) \seqar \word (C(; x ,\vec y)) }{
|
|
| 299 |
\vliq{}{}{ \word (\vec y) \seqar \word ( C(; \succ_i a , \vec y ) ) }{
|
|
| 300 |
\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_i) }{
|
|
| 301 |
\vlin{\id}{}{\word (y_i) \seqar \word (y_i)}{\vlhy{}}
|
|
| 302 |
} |
|
| 303 |
} |
|
| 304 |
} |
|
| 305 |
} |
|
| 306 |
} |
|
| 307 |
\right\}_{i = 0,1}
|
|
| 308 |
} |
|
| 309 |
} |
|
| 310 |
} |
|
| 311 |
} |
|
| 312 |
\] |
|
| 313 |
whence the result follows by $\forall$-introduction. |
|
| 314 |
\todo{reformat a bit}
|
|
| 315 |
|
|
| 316 |
Other initial functions are far simpler. |
|
| 317 |
|
|
| 318 |
\end{proof}
|
|
| 319 |
|
|
| 320 |
|
|
| 321 |
|
|
| 322 |
|
|
| 323 |
|
|
| 324 |
|
|
| 325 |
|
|
| 326 |
|
|
| 327 |
|
|
| 328 |
|
|
| 329 |
|
|
| 330 |
|
|
| 331 |
|
|
| 332 |
|
|
| 333 |
|
|
| 334 |
|
|
| 335 |
|
|
| 336 |
|
|
| 337 |
|
|
| 338 |
|
|
| 339 |
|
|
| 340 |
|
|
| 341 |
|
|
| 342 |
|
|
| 343 |
|
|
| 344 |
|
|
| 345 |
|
|
| 346 |
|
|
| 347 |
|
|
| 348 |
|
|
| 349 |
|
|
| 350 |
|
|
| 351 |
|
|
| 352 |
|
|
| 353 |
|
|
| 354 |
|
|
| 355 |
|
|
| 356 |
|
|
| 357 |
|
|
| 358 |
|
|
| 359 |
|
|
| 360 |
|
|
| CSL16/draft/lipics-v2016.cls (revision 101) | ||
|---|---|---|
| 1 |
%% |
|
| 2 |
%% This is file `lipics.cls', |
|
| 3 |
%% generated with the docstrip utility. |
|
| 4 |
%% |
|
| 5 |
%% The original source files were: |
|
| 6 |
%% |
|
| 7 |
%% lipics.dtx (with options: `class') |
|
| 8 |
%% |
|
| 9 |
%% ----------------------------------------------------------------- |
|
| 10 |
%% Author: le-tex publishing services |
|
| 11 |
%% |
|
| 12 |
%% This file is part of the lipics package for preparing |
|
| 13 |
%% LIPICS articles. |
|
| 14 |
%% |
|
| 15 |
%% Copyright (C) 2010 Schloss Dagstuhl |
|
| 16 |
%% ----------------------------------------------------------------- |
|
| 17 |
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
|
|
| 18 |
\ProvidesClass{lipics-v2016}
|
|
| 19 |
[2016/02/16 v1.1 LIPIcs articles] |
|
| 20 |
\emergencystretch1em |
|
| 21 |
\advance\hoffset-1in |
|
| 22 |
\advance\voffset-1in |
|
| 23 |
\advance\hoffset2.95mm |
|
| 24 |
\newif\if@nobotseplist \@nobotseplistfalse |
|
| 25 |
\def\@endparenv{%
|
|
| 26 |
\addpenalty\@endparpenalty\if@nobotseplist\else\addvspace\@topsepadd\fi\@endpetrue} |
|
| 27 |
\def\@doendpe{%
|
|
| 28 |
\@endpetrue |
|
| 29 |
\def\par{\@restorepar
|
|
| 30 |
\everypar{}%
|
|
| 31 |
\par |
|
| 32 |
\if@nobotseplist |
|
| 33 |
\addvspace\topsep |
|
| 34 |
\addvspace\partopsep |
|
| 35 |
\global\@nobotseplistfalse |
|
| 36 |
\fi |
|
| 37 |
\@endpefalse}% |
|
| 38 |
\everypar{{\setbox\z@\lastbox}%
|
|
| 39 |
\everypar{}%
|
|
| 40 |
\if@nobotseplist\global\@nobotseplistfalse\fi |
|
| 41 |
\@endpefalse}} |
|
| 42 |
\def\enumerate{%
|
|
| 43 |
\ifnum \@enumdepth >\thr@@\@toodeep\else |
|
| 44 |
\advance\@enumdepth\@ne |
|
| 45 |
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
|
|
| 46 |
\expandafter |
|
| 47 |
\list |
|
| 48 |
\csname label\@enumctr\endcsname |
|
| 49 |
{\advance\partopsep\topsep
|
|
| 50 |
\topsep\z@\@plus\p@ |
|
| 51 |
\ifnum\@listdepth=\@ne |
|
| 52 |
\labelsep0.72em |
|
| 53 |
\else |
|
| 54 |
\ifnum\@listdepth=\tw@ |
|
| 55 |
\labelsep0.3em |
|
| 56 |
\else |
|
| 57 |
\labelsep0.5em |
|
| 58 |
\fi |
|
| 59 |
\fi |
|
| 60 |
\usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}}%
|
|
| 61 |
\fi} |
|
| 62 |
\def\endenumerate{\ifnum\@listdepth=\@ne\global\@nobotseplisttrue\fi\endlist}
|
|
| 63 |
\def\itemize{%
|
|
| 64 |
\ifnum \@itemdepth >\thr@@\@toodeep\else |
|
| 65 |
\advance\@itemdepth\@ne |
|
| 66 |
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
|
|
| 67 |
\expandafter |
|
| 68 |
\list |
|
| 69 |
\csname\@itemitem\endcsname |
|
| 70 |
{\advance\partopsep\topsep
|
|
| 71 |
\topsep\z@\@plus\p@ |
|
| 72 |
\ifnum\@listdepth=\@ne |
|
| 73 |
\labelsep0.83em |
|
| 74 |
\else |
|
| 75 |
\ifnum\@listdepth=\tw@ |
|
| 76 |
\labelsep0.75em |
|
| 77 |
\else |
|
| 78 |
\labelsep0.5em |
|
| 79 |
\fi |
|
| 80 |
\fi |
|
| 81 |
\def\makelabel##1{\hss\llap{##1}}}%
|
|
| 82 |
\fi} |
|
| 83 |
\def\enditemize{\ifnum\@listdepth=\@ne\global\@nobotseplisttrue\fi\endlist}
|
|
| 84 |
\def\@sect#1#2#3#4#5#6[#7]#8{%
|
|
| 85 |
\ifnum #2>\c@secnumdepth |
|
| 86 |
\let\@svsec\@empty |
|
| 87 |
\else |
|
| 88 |
\refstepcounter{#1}%
|
|
| 89 |
\protected@edef\@svsec{\@seccntformat{#1}\relax}%
|
|
| 90 |
\fi |
|
| 91 |
\@tempskipa #5\relax |
|
| 92 |
\ifdim \@tempskipa>\z@ |
|
| 93 |
\begingroup |
|
| 94 |
#6{%
|
|
| 95 |
\@hangfrom{\hskip #3\relax
|
|
| 96 |
\ifnum #2=1 |
|
| 97 |
\colorbox[rgb]{0.99,0.78,0.07}{\kern0.15em\@svsec\kern0.15em}\quad
|
|
| 98 |
\else |
|
| 99 |
\@svsec\quad |
|
| 100 |
\fi}% |
|
| 101 |
\interlinepenalty \@M #8\@@par}% |
|
| 102 |
\endgroup |
|
| 103 |
\csname #1mark\endcsname{#7}%
|
|
| 104 |
\addcontentsline{toc}{#1}{%
|
|
| 105 |
\ifnum #2>\c@secnumdepth \else |
|
| 106 |
\protect\numberline{\csname the#1\endcsname}%
|
|
| 107 |
\fi |
|
| 108 |
#7}% |
|
| 109 |
\else |
|
| 110 |
\def\@svsechd{%
|
|
| 111 |
#6{\hskip #3\relax
|
|
| 112 |
\@svsec #8}% |
|
| 113 |
\csname #1mark\endcsname{#7}%
|
|
| 114 |
\addcontentsline{toc}{#1}{%
|
|
| 115 |
\ifnum #2>\c@secnumdepth \else |
|
| 116 |
\protect\numberline{\csname the#1\endcsname}%
|
|
| 117 |
\fi |
|
| 118 |
#7}}% |
|
| 119 |
\fi |
|
| 120 |
\@xsect{#5}}
|
|
| 121 |
\def\@seccntformat#1{\csname the#1\endcsname}
|
|
| 122 |
\def\@biblabel#1{\textcolor{darkgray}{\sffamily\bfseries#1}}
|
|
| 123 |
|
|
| 124 |
\def\EventLogo#1{\gdef\@EventLogo{#1}}
|
|
| 125 |
\EventLogo{}
|
|
| 126 |
\def\EventEditors#1{\gdef\@EventEditors{#1}}
|
|
| 127 |
\EventEditors{}
|
|
| 128 |
\def\EventNoEds#1{\gdef\@EventNoEds{#1}\ifnum #1>1 \gdef\@Eds{Editors}\fi }
|
|
| 129 |
\EventNoEds{1}
|
|
| 130 |
\gdef\@Eds{Editor}
|
|
| 131 |
\def\EventLongTitle#1{\gdef\@EventLongTitle{#1}}
|
|
| 132 |
\EventLongTitle{}
|
|
| 133 |
\def\EventShortTitle#1{\gdef\@EventShortTitle{#1}}
|
|
| 134 |
\EventShortTitle{}
|
|
| 135 |
\def\EventAcronym#1{\gdef\@EventAcronym{#1}}
|
|
| 136 |
\EventAcronym{}
|
|
| 137 |
\def\EventYear#1{\gdef\@EventYear{#1}}
|
|
| 138 |
\EventYear{}
|
|
| 139 |
\def\EventDate#1{\gdef\@EventDate{#1}}
|
|
| 140 |
\EventDate{}
|
|
| 141 |
\def\EventLocation#1{\gdef\@EventLocation{#1}}
|
|
| 142 |
\EventLocation{}
|
|
| 143 |
\def\SeriesVolume#1{\gdef\@SeriesVolume{#1}}
|
|
| 144 |
\SeriesVolume{}
|
|
| 145 |
\def\ArticleNo#1{\gdef\@ArticleNo{#1}}
|
|
| 146 |
\ArticleNo{}
|
|
| 147 |
\def\DOIPrefix#1{\gdef\@DOIPrefix{#1}}
|
|
| 148 |
\DOIPrefix{10.4230/LIPIcs}
|
|
| 149 |
|
|
| 150 |
|
|
| 151 |
\def\copyrightline{%
|
|
| 152 |
\ifx\@EventLogo\@empty |
|
| 153 |
\else |
|
| 154 |
\setbox\@tempboxa\hbox{\includegraphics[height=42\p@]{\@EventLogo}}%
|
|
| 155 |
\rlap{\hspace\textwidth\hspace{-\wd\@tempboxa}\hspace{\z@}%
|
|
| 156 |
\vtop to\z@{\vskip-0mm\unhbox\@tempboxa\vss}}%
|
|
| 157 |
\fi |
|
| 158 |
\scriptsize |
|
| 159 |
\vtop{\hsize\textwidth
|
|
| 160 |
\nobreakspace\\ |
|
| 161 |
\@Copyright |
|
| 162 |
\ifx\@EventLongTitle\@empty\else\@EventLongTitle.\\\fi |
|
| 163 |
\ifx\@EventEditors\@empty\else |
|
| 164 |
\@Eds: \@EventEditors |
|
| 165 |
; Article~No.\,\@ArticleNo; pp.\,\@ArticleNo:\thepage--\@ArticleNo:\pageref{LastPage}%
|
|
| 166 |
\\ |
|
| 167 |
\fi |
|
| 168 |
\setbox\@tempboxa\hbox{\includegraphics[height=14\p@,trim=0 15 0 0]{lipics-logo-bw}}%
|
|
| 169 |
\hspace*{\wd\@tempboxa}\enskip
|
|
| 170 |
\href{http://www.dagstuhl.de/lipics/}%
|
|
| 171 |
{Leibniz International Proceedings in Informatics}\\
|
|
| 172 |
\smash{\unhbox\@tempboxa}\enskip
|
|
| 173 |
\href{http://www.dagstuhl.de}%
|
|
| 174 |
{Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik, Dagstuhl Publishing, Germany}}}
|
|
| 175 |
\def\ps@plain{\let\@mkboth\@gobbletwo
|
|
| 176 |
\let\@oddhead\@empty |
|
| 177 |
\let\@evenhead\@empty |
|
| 178 |
\let\@evenfoot\copyrightline |
|
| 179 |
\let\@oddfoot\copyrightline} |
|
| 180 |
\def\lipics@opterrshort{Option "\CurrentOption" not supported}
|
|
| 181 |
\def\lipics@opterrlong{The option "\CurrentOption" from article.cls is not supported by lipics.cls.}
|
|
| 182 |
\DeclareOption{a5paper}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 183 |
\DeclareOption{b5paper}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 184 |
\DeclareOption{legalpaper}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 185 |
\DeclareOption{executivepaper}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 186 |
\DeclareOption{landscape}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 187 |
\DeclareOption{10pt}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 188 |
\DeclareOption{11pt}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 189 |
\DeclareOption{12pt}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 190 |
\DeclareOption{oneside}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 191 |
\DeclareOption{twoside}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 192 |
\DeclareOption{titlepage}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 193 |
\DeclareOption{notitlepage}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 194 |
\DeclareOption{onecolumn}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 195 |
\DeclareOption{twocolumn}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 196 |
\DeclareOption{fleqn}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 197 |
\DeclareOption{openbib}{\@latexerr{\lipics@opterrshort}{\lipics@opterrlong}}
|
|
| 198 |
\DeclareOption{a4paper}{\PassOptionsToClass{\CurrentOption}{article}
|
|
| 199 |
\advance\hoffset-2.95mm |
|
| 200 |
\advance\voffset8.8mm} |
|
| 201 |
\DeclareOption{numberwithinsect}{\let\numberwithinsect\relax}
|
|
| 202 |
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
|
|
| 203 |
\ProcessOptions |
|
| 204 |
\LoadClass[twoside,notitlepage,fleqn]{article}
|
|
| 205 |
\renewcommand\normalsize{%
|
|
| 206 |
\@setfontsize\normalsize\@xpt{13}%
|
|
| 207 |
\abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ |
|
| 208 |
\abovedisplayshortskip \z@ \@plus3\p@ |
|
| 209 |
\belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ |
|
| 210 |
\belowdisplayskip \abovedisplayskip |
|
| 211 |
\let\@listi\@listI} |
|
| 212 |
\normalsize |
|
| 213 |
\renewcommand\small{%
|
|
| 214 |
\@setfontsize\small\@ixpt{11.5}%
|
|
| 215 |
\abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ |
|
| 216 |
\abovedisplayshortskip \z@ \@plus2\p@ |
|
| 217 |
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ |
|
| 218 |
\def\@listi{\leftmargin\leftmargini
|
|
| 219 |
\topsep 4\p@ \@plus2\p@ \@minus2\p@ |
|
| 220 |
\parsep 2\p@ \@plus\p@ \@minus\p@ |
|
| 221 |
\itemsep \parsep}% |
|
| 222 |
\belowdisplayskip \abovedisplayskip |
|
| 223 |
} |
|
| 224 |
\renewcommand\footnotesize{%
|
|
| 225 |
\@setfontsize\footnotesize{8.5}{9.5}%
|
|
| 226 |
\abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@ |
|
| 227 |
\abovedisplayshortskip \z@ \@plus\p@ |
|
| 228 |
\belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@ |
|
| 229 |
\def\@listi{\leftmargin\leftmargini
|
|
| 230 |
\topsep 3\p@ \@plus\p@ \@minus\p@ |
|
| 231 |
\parsep 2\p@ \@plus\p@ \@minus\p@ |
|
| 232 |
\itemsep \parsep}% |
|
| 233 |
\belowdisplayskip \abovedisplayskip |
|
| 234 |
} |
|
| 235 |
\renewcommand\large{\@setfontsize\large{10.5}{13}}
|
|
| 236 |
\renewcommand\Large{\@setfontsize\Large{12}{14}}
|
|
| 237 |
\setlength\parindent{1.5em}
|
|
| 238 |
\setlength\headheight{3mm}
|
|
| 239 |
\setlength\headsep {10mm}
|
|
| 240 |
\setlength\footskip{3mm}
|
|
| 241 |
\setlength\textwidth{140mm}
|
|
| 242 |
\setlength\textheight{222mm}
|
|
| 243 |
\setlength\oddsidemargin{32mm}
|
|
| 244 |
\setlength\evensidemargin{38mm}
|
|
| 245 |
\setlength\marginparwidth{25mm}
|
|
| 246 |
\setlength\topmargin{13mm}
|
|
| 247 |
\setlength{\skip\footins}{2\baselineskip \@plus 4\p@ \@minus 2\p@}
|
|
| 248 |
\def\@listi{\leftmargin\leftmargini
|
|
| 249 |
\parsep\z@ \@plus\p@ |
|
| 250 |
\topsep 8\p@ \@plus2\p@ \@minus4\p@ |
|
| 251 |
\itemsep \parsep} |
|
| 252 |
\let\@listI\@listi |
|
| 253 |
\@listi |
|
| 254 |
\def\@listii {\leftmargin\leftmarginii
|
|
| 255 |
\labelwidth\leftmarginii |
|
| 256 |
\advance\labelwidth-\labelsep |
|
| 257 |
\topsep 4\p@ \@plus2\p@ \@minus\p@ |
|
| 258 |
\parsep\z@ \@plus\p@ |
|
| 259 |
\itemsep \parsep} |
|
| 260 |
\def\@listiii{\leftmargin\leftmarginiii
|
|
| 261 |
\labelwidth\leftmarginiii |
|
| 262 |
\advance\labelwidth-\labelsep |
|
| 263 |
\topsep 2\p@ \@plus\p@\@minus\p@ |
|
| 264 |
\parsep \z@ |
|
| 265 |
\partopsep \p@ \@plus\z@ \@minus\p@ |
|
| 266 |
\itemsep \z@ \@plus\p@} |
|
| 267 |
\def\ps@headings{%
|
|
| 268 |
\def\@evenhead{\large\sffamily\bfseries
|
|
| 269 |
\llap{\hbox to0.5\oddsidemargin{\ifx\@ArticleNo\@empty\textcolor{blue}{XX}\else\@ArticleNo\fi:\thepage\hss}}\leftmark\hfil}%
|
|
| 270 |
\def\@oddhead{\large\sffamily\bfseries\rightmark\hfil
|
|
| 271 |
\rlap{\hbox to0.5\oddsidemargin{\hss\ifx\@ArticleNo\@empty\textcolor{blue}{XX}\else\@ArticleNo\fi:\thepage}}}%
|
|
| 272 |
\def\@oddfoot{\hfil
|
|
| 273 |
\rlap{%
|
|
| 274 |
\vtop{%
|
|
| 275 |
\vskip10mm |
|
| 276 |
\colorbox[rgb]{0.99,0.78,0.07}
|
|
| 277 |
{\@tempdima\evensidemargin
|
|
| 278 |
\advance\@tempdima1in |
|
| 279 |
\advance\@tempdima\hoffset |
|
| 280 |
\hb@xt@\@tempdima{%
|
|
| 281 |
\textcolor{darkgray}{\normalsize\sffamily
|
|
| 282 |
\bfseries\quad |
|
| 283 |
\expandafter\textsolittle |
|
| 284 |
\expandafter{\@EventShortTitle}}%
|
|
| 285 |
\strut\hss}}}}} |
|
| 286 |
\let\@evenfoot\@empty |
|
| 287 |
\let\@mkboth\markboth |
|
| 288 |
\let\sectionmark\@gobble |
|
| 289 |
\let\subsectionmark\@gobble} |
|
| 290 |
\pagestyle{headings}
|
|
| 291 |
\renewcommand\maketitle{\par
|
|
| 292 |
\begingroup |
|
| 293 |
\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
|
|
| 294 |
\if@twocolumn |
|
| 295 |
\ifnum \col@number=\@ne |
|
| 296 |
\@maketitle |
|
| 297 |
\else |
|
| 298 |
\twocolumn[\@maketitle]% |
|
| 299 |
\fi |
|
| 300 |
\else |
|
| 301 |
\newpage |
|
| 302 |
\global\@topnum\z@ % Prevents figures from going at top of page. |
|
| 303 |
\@maketitle |
|
| 304 |
\fi |
|
| 305 |
\thispagestyle{plain}\@thanks
|
|
| 306 |
\endgroup |
|
| 307 |
\setcounter{footnote}{0}%
|
|
| 308 |
\global\let\thanks\relax |
|
| 309 |
\global\let\maketitle\relax |
|
| 310 |
\global\let\@maketitle\relax |
|
| 311 |
\global\let\@thanks\@empty |
|
| 312 |
\global\let\@author\@empty |
|
| 313 |
\global\let\@date\@empty |
|
| 314 |
\global\let\@title\@empty |
|
| 315 |
\global\let\title\relax |
|
| 316 |
\global\let\author\relax |
|
| 317 |
\global\let\date\relax |
|
| 318 |
\global\let\and\relax |
|
| 319 |
} |
|
| 320 |
\newwrite\tocfile |
|
| 321 |
\def\@maketitle{%
|
|
| 322 |
\newpage |
|
| 323 |
\null\vskip-\baselineskip |
|
| 324 |
\vskip-\headsep |
|
| 325 |
\@titlerunning |
|
| 326 |
\@authorrunning |
|
| 327 |
\let \footnote \thanks |
|
| 328 |
\parindent\z@ \raggedright |
|
| 329 |
{\LARGE\sffamily\bfseries\mathversion{bold}\@title \par}%
|
|
| 330 |
\vskip 1.5em% |
|
| 331 |
\ifnum\c@authors=0 % |
|
| 332 |
\@latexerr{No \noexpand\author given}%
|
|
| 333 |
{Provide at least one author. See the LIPIcs class documentation.}%
|
|
| 334 |
\else |
|
| 335 |
\@author |
|
| 336 |
\fi |
|
| 337 |
\bgroup |
|
| 338 |
\let\footnote\@gobble |
|
| 339 |
\immediate\openout\tocfile=\jobname.vtc |
|
| 340 |
\protected@write\tocfile{}{%
|
|
| 341 |
\string\contitem |
|
| 342 |
\string\title{\@title}%
|
|
| 343 |
\string\author{\AB@authfortoc}%
|
|
| 344 |
\string\page{\@ArticleNo:\thepage--\@ArticleNo:\number\numexpr\getpagerefnumber{LastPage}}}%
|
|
| 345 |
\closeout\tocfile |
|
| 346 |
\egroup |
|
| 347 |
\par} |
|
| 348 |
\setcounter{secnumdepth}{4}
|
|
| 349 |
\renewcommand\section{\@startsection {section}{1}{\z@}%
|
|
| 350 |
{-3.5ex \@plus -1ex \@minus -.2ex}%
|
|
| 351 |
{2.3ex \@plus.2ex}%
|
|
| 352 |
{\sffamily\Large\bfseries\raggedright}}
|
|
| 353 |
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
|
|
| 354 |
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
|
| 355 |
{1.5ex \@plus .2ex}%
|
|
| 356 |
{\sffamily\Large\bfseries\raggedright}}
|
|
| 357 |
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
|
|
| 358 |
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
|
| 359 |
{1.5ex \@plus .2ex}%
|
|
| 360 |
{\sffamily\Large\bfseries\raggedright}}
|
|
| 361 |
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
|
|
| 362 |
{-3.25ex \@plus-1ex \@minus-.2ex}%
|
|
| 363 |
{1.5ex \@plus .2ex}%
|
|
| 364 |
{\sffamily\large\bfseries\raggedright}}
|
|
| 365 |
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}%
|
|
| 366 |
{3.25ex \@plus1ex \@minus .2ex}%
|
|
| 367 |
{-1em}%
|
|
| 368 |
{\sffamily\normalsize\bfseries}}
|
|
| 369 |
\setlength\leftmargini \parindent |
|
| 370 |
\setlength\leftmarginii {1.2em}
|
|
| 371 |
\setlength\leftmarginiii{1.2em}
|
|
| 372 |
\setlength\leftmarginiv {1.2em}
|
|
| 373 |
\setlength\leftmarginv {1.2em}
|
|
| 374 |
\setlength\leftmarginvi {1.2em}
|
|
| 375 |
\renewcommand\labelenumi{%
|
|
| 376 |
\textcolor{darkgray}{\sffamily\bfseries\mathversion{bold}\theenumi.}}
|
|
| 377 |
\renewcommand\labelenumii{%
|
|
| 378 |
\textcolor{darkgray}{\sffamily\bfseries\mathversion{bold}\theenumii.}}
|
|
| 379 |
\renewcommand\labelenumiii{%
|
|
| 380 |
\textcolor{darkgray}{\sffamily\bfseries\mathversion{bold}\theenumiii.}}
|
|
| 381 |
\renewcommand\labelenumiv{%
|
|
| 382 |
\textcolor{darkgray}{\sffamily\bfseries\mathversion{bold}\theenumiv.}}
|
|
| 383 |
\renewcommand\labelitemi{%
|
|
| 384 |
\textcolor[rgb]{0.6,0.6,0.61}{\ifnum\@listdepth=\@ne
|
|
| 385 |
\rule{0.67em}{0.33em}%
|
|
| 386 |
\else |
|
| 387 |
\rule{0.45em}{0.225em}%
|
|
| 388 |
\fi}} |
|
| 389 |
\renewcommand\labelitemii{%
|
|
| 390 |
\textcolor[rgb]{0.6,0.6,0.61}{\rule{0.45em}{0.225em}}}
|
|
| 391 |
\renewcommand\labelitemiii{%
|
|
| 392 |
\textcolor[rgb]{0.6,0.6,0.61}{\sffamily\bfseries\textasteriskcentered}}
|
|
| 393 |
\renewcommand\labelitemiv{%
|
|
| 394 |
\textcolor[rgb]{0.6,0.6,0.61}{\sffamily\bfseries\textperiodcentered}}
|
|
| 395 |
\renewenvironment{description}
|
|
| 396 |
{\list{}{\advance\partopsep\topsep\topsep\z@\@plus\p@
|
|
| 397 |
\labelwidth\z@ \itemindent-\leftmargin |
|
| 398 |
\let\makelabel\descriptionlabel}} |
|
| 399 |
{\ifnum\@listdepth=\@ne\global\@nobotseplisttrue\fi\endlist}
|
|
| 400 |
\renewcommand*\descriptionlabel[1]{%
|
|
| 401 |
\hspace\labelsep\textcolor{darkgray}{\sffamily\bfseries\mathversion{bold}#1}}
|
|
| 402 |
\renewenvironment{abstract}{%
|
|
| 403 |
\vskip\bigskipamount |
|
| 404 |
\noindent |
|
| 405 |
\rlap{\color[rgb]{0.51,0.50,0.52}\vrule\@width\textwidth\@height1\p@}%
|
|
| 406 |
\hspace*{7mm}\fboxsep1.5mm\colorbox[rgb]{1,1,1}{\raisebox{-0.4ex}{%
|
|
| 407 |
\large\selectfont\sffamily\bfseries\abstractname}}% |
|
| 408 |
\vskip3\p@ |
|
| 409 |
\fontsize{9.5}{12.5}\selectfont
|
|
| 410 |
\noindent\ignorespaces} |
|
| 411 |
{\ifx\@subjclass\@empty\else
|
|
| 412 |
\vskip\baselineskip\noindent |
|
| 413 |
\subjclassHeading\@subjclass |
|
| 414 |
\fi |
|
| 415 |
\ifx\@keywords\@empty\else |
|
| 416 |
\vskip\baselineskip\noindent |
|
| 417 |
\keywordsHeading\@keywords |
|
| 418 |
\fi |
|
| 419 |
\ifx\@DOIPrefix\@empty\else |
|
| 420 |
\vskip\baselineskip\noindent |
|
| 421 |
\doiHeading\doi{\@DOIPrefix.\@EventAcronym.\@EventYear.\@ArticleNo}
|
|
| 422 |
\fi} |
|
| 423 |
\renewenvironment{thebibliography}[1]
|
|
| 424 |
{\if@noskipsec \leavevmode \fi
|
|
| 425 |
\par |
|
| 426 |
\@tempskipa-3.5ex \@plus -1ex \@minus -.2ex\relax |
|
| 427 |
\@afterindenttrue |
|
| 428 |
\@tempskipa -\@tempskipa \@afterindentfalse |
|
| 429 |
\if@nobreak |
|
| 430 |
\everypar{}%
|
|
| 431 |
\else |
|
| 432 |
\addpenalty\@secpenalty\addvspace\@tempskipa |
|
| 433 |
\fi |
|
| 434 |
\noindent |
|
| 435 |
\rlap{\color[rgb]{0.51,0.50,0.52}\vrule\@width\textwidth\@height1\p@}%
|
|
| 436 |
\hspace*{7mm}\fboxsep1.5mm\colorbox[rgb]{1,1,1}{\raisebox{-0.4ex}{%
|
|
| 437 |
\normalsize\sffamily\bfseries\refname}}% |
|
| 438 |
\@xsect{1ex \@plus.2ex}%
|
|
| 439 |
\list{\@biblabel{\@arabic\c@enumiv}}%
|
|
| 440 |
{\leftmargin8.5mm
|
|
| 441 |
\labelsep\leftmargin |
|
| 442 |
\settowidth\labelwidth{\@biblabel{#1}}%
|
|
| 443 |
\advance\labelsep-\labelwidth |
|
| 444 |
\usecounter{enumiv}%
|
|
| 445 |
\let\p@enumiv\@empty |
|
| 446 |
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
|
|
| 447 |
\fontsize{9.5}{12.5}\selectfont
|
|
| 448 |
\sloppy |
|
| 449 |
\clubpenalty4000 |
|
| 450 |
\@clubpenalty \clubpenalty |
|
| 451 |
\widowpenalty4000% |
|
| 452 |
\sfcode`\.\@m} |
|
| 453 |
{\def\@noitemerr
|
|
| 454 |
{\@latex@warning{Empty `thebibliography' environment}}%
|
|
| 455 |
\endlist} |
|
| 456 |
\renewcommand\footnoterule{%
|
|
| 457 |
\kern-8\p@ |
|
| 458 |
{\color[rgb]{0.60,0.60,0.61}\hrule\@width40mm\@height1\p@}%
|
|
| 459 |
\kern6.6\p@} |
|
| 460 |
\renewcommand\@makefntext[1]{%
|
|
| 461 |
\parindent\z@\hangindent1em |
|
| 462 |
\leavevmode |
|
| 463 |
\hb@xt@1em{\@makefnmark\hss}#1}
|
|
| 464 |
\usepackage[utf8]{inputenc}
|
|
| 465 |
\IfFileExists{lmodern.sty}{\RequirePackage{lmodern}}{}
|
|
| 466 |
\RequirePackage[T1]{fontenc}
|
|
| 467 |
\RequirePackage{textcomp}
|
|
| 468 |
\RequirePackage[mathscr]{eucal}
|
|
| 469 |
\RequirePackage{amssymb}
|
|
| 470 |
\RequirePackage{soul}
|
|
| 471 |
\sodef\textsolittle{}{.12em}{.5em\@plus.08em\@minus.06em}%
|
|
| 472 |
{.4em\@plus.275em\@minus.183em}
|
|
| 473 |
\RequirePackage{color}
|
|
| 474 |
\definecolor{darkgray}{rgb}{0.31,0.31,0.33}
|
|
| 475 |
\RequirePackage{babel}
|
|
| 476 |
\RequirePackage[tbtags,fleqn]{amsmath}
|
|
| 477 |
\RequirePackage{amsthm}
|
|
| 478 |
\thm@headfont{%
|
|
| 479 |
\textcolor{darkgray}{$\blacktriangleright$}\nobreakspace\sffamily\bfseries}
|
|
| 480 |
\def\th@remark{%
|
|
| 481 |
\thm@headfont{%
|
|
| 482 |
\textcolor{darkgray}{$\blacktriangleright$}\nobreakspace\sffamily}%
|
|
| 483 |
\normalfont % body font |
|
| 484 |
\thm@preskip\topsep \divide\thm@preskip\tw@ |
|
| 485 |
\thm@postskip\thm@preskip |
|
| 486 |
} |
|
| 487 |
\def\@endtheorem{\endtrivlist}%\@endpefalse
|
|
| 488 |
\renewcommand\qedsymbol{\textcolor{darkgray}{\ensuremath{\blacktriangleleft}}}
|
|
| 489 |
\renewenvironment{proof}[1][\proofname]{\par
|
|
| 490 |
\pushQED{\qed}%
|
|
| 491 |
\normalfont \topsep6\p@\@plus6\p@\relax |
|
| 492 |
\trivlist |
|
| 493 |
\item[\hskip\labelsep |
|
| 494 |
\color{darkgray}\sffamily\bfseries
|
|
| 495 |
#1\@addpunct{.}]\ignorespaces
|
|
| 496 |
}{%
|
|
| 497 |
\popQED\endtrivlist%\@endpefalse |
|
| 498 |
} |
|
| 499 |
\theoremstyle{plain}
|
|
| 500 |
\newtheorem{theorem}{Theorem}
|
|
| 501 |
\newtheorem{lemma}[theorem]{Lemma}
|
|
| 502 |
\newtheorem{corollary}[theorem]{Corollary}
|
|
| 503 |
\theoremstyle{definition}
|
|
| 504 |
\newtheorem{definition}[theorem]{Definition}
|
|
| 505 |
\newtheorem{example}[theorem]{Example}
|
|
| 506 |
\theoremstyle{remark}
|
|
| 507 |
\newtheorem*{remark}{Remark}
|
|
| 508 |
\ifx\numberwithinsect\relax |
|
| 509 |
\@addtoreset{theorem}{section}
|
|
| 510 |
\edef\thetheorem{\expandafter\noexpand\thesection\@thmcountersep\@thmcounter{theorem}}
|
|
| 511 |
\fi |
|
| 512 |
\RequirePackage{graphicx}
|
|
| 513 |
\RequirePackage{array}
|
|
| 514 |
\let\@classzold\@classz |
|
| 515 |
\def\@classz{%
|
|
| 516 |
\expandafter\ifx\d@llarbegin\begingroup |
|
| 517 |
\toks \count@ = |
|
| 518 |
\expandafter{\expandafter\small\the\toks\count@}%
|
|
| 519 |
\fi |
|
| 520 |
\@classzold} |
|
| 521 |
\RequirePackage{multirow}
|
|
| 522 |
\RequirePackage{tabularx}
|
|
| 523 |
\RequirePackage[online]{threeparttable}
|
|
| 524 |
\def\TPTtagStyle#1{#1)}
|
|
| 525 |
\def\tablenotes{\small\TPT@defaults
|
|
| 526 |
\@ifnextchar[\TPT@setuptnotes\TPTdoTablenotes} % ] |
|
| 527 |
\RequirePackage{listings}
|
|
| 528 |
\lstset{basicstyle=\small\ttfamily,%
|
|
| 529 |
backgroundcolor=\color[rgb]{0.85,0.85,0.86},%
|
|
| 530 |
frame=single,framerule=0pt,xleftmargin=\fboxsep,xrightmargin=\fboxsep} |
|
| 531 |
\RequirePackage{lastpage}
|
|
| 532 |
\IfFileExists{doi.sty}
|
|
| 533 |
{\RequirePackage{doi}%
|
|
| 534 |
\renewcommand*{\doitext}{}}
|
|
| 535 |
{\RequirePackage{hyperref}%
|
|
| 536 |
\def\doi##1{##1}}
|
|
| 537 |
\hypersetup{pdfborder={0 0 0}}
|
|
| 538 |
\RequirePackage[labelsep=space,singlelinecheck=false,% |
|
| 539 |
font={up,small},labelfont={sf,bf},%
|
|
| 540 |
listof=false]{caption}%"listof" instead of "list" for backward compatibility
|
|
| 541 |
\@ifpackagelater{hyperref}{2009/12/09}
|
|
| 542 |
{\captionsetup{compatibility=false}}%cf. http://groups.google.de/group/comp.text.tex/browse_thread/thread/db9310eb540fbbd8/42e30f3b7b3aa17a?lnk=raot
|
|
| 543 |
{}
|
|
| 544 |
\DeclareCaptionLabelFormat{boxed}{%
|
|
| 545 |
\kern0.05em{\color[rgb]{0.99,0.78,0.07}\rule{0.73em}{0.73em}}%
|
|
| 546 |
\hspace*{0.67em}\bothIfFirst{#1}{~}#2}
|
|
| 547 |
\captionsetup{labelformat=boxed}
|
|
| 548 |
\captionsetup[table]{position=top}
|
|
| 549 |
\RequirePackage[figuresright]{rotating}
|
|
| 550 |
\RequirePackage{subcaption} % subfig
|
|
| 551 |
\def\titlerunning#1{\gdef\@titlerunning{{\let\footnote\@gobble\markboth{#1}{#1}}}}
|
|
| 552 |
\def\authorrunning#1{%
|
|
| 553 |
\gdef\@authorrunning{\expandafter\def\expandafter\@tempa\expandafter{#1}%
|
|
| 554 |
\ifx\@tempa\@empty\else\markright{#1}\fi}}
|
|
| 555 |
\titlerunning{\@title}
|
|
| 556 |
\authorrunning{\AB@authrunning}
|
|
| 557 |
\RequirePackage{authblk}
|
|
| 558 |
\renewcommand*\Authand{{ and }}
|
|
| 559 |
\renewcommand*\Authfont{\Large\bfseries\mathversion{bold}}
|
|
| 560 |
\renewcommand*\AB@authnote[1]{\textsuperscript{#1}}
|
|
| 561 |
\renewcommand*\AB@affilnote[1]{\protect\item[#1]}
|
|
| 562 |
\renewcommand*\Affilfont{\fontsize{9.5}{12}\selectfont}
|
|
| 563 |
\setlength\affilsep{\baselineskip}
|
|
| 564 |
\newcommand\AB@authrunning{}
|
|
| 565 |
\newcommand\AB@authfortoc{}
|
|
| 566 |
\renewcommand\author[2][]% |
|
| 567 |
{\ifnewaffil\addtocounter{affil}{1}%
|
|
| 568 |
\edef\AB@thenote{\arabic{affil}}\fi
|
|
| 569 |
\if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}%
|
|
| 570 |
\setcounter{Maxaffil}{0}\fi
|
|
| 571 |
\ifnum\value{authors}>1\relax
|
|
| 572 |
\@namedef{@sep\number\c@authors}{\Authsep}\fi
|
|
| 573 |
\addtocounter{authors}{1}%
|
|
| 574 |
\begingroup |
|
| 575 |
\let\protect\@unexpandable@protect \let\and\AB@pand |
|
| 576 |
\def\thanks{\protect\thanks}\def\footnote{\protect\footnote}%
|
|
| 577 |
\@temptokena=\expandafter{\AB@authors}%
|
|
| 578 |
{\def\\{\protect\\[\@affilsep]\protect\Affilfont
|
|
| 579 |
\protect\AB@resetsep}% |
|
| 580 |
\xdef\AB@author{\AB@blk@and#2}%
|
|
| 581 |
\ifnewaffil\gdef\AB@las{}\gdef\AB@lasx{\protect\Authand}\gdef\AB@as{}%
|
|
| 582 |
\xdef\AB@authors{\the\@temptokena\AB@blk@and}%
|
|
| 583 |
\else |
|
| 584 |
\xdef\AB@authors{\the\@temptokena\AB@as\AB@au@str}%
|
|
| 585 |
\global\let\AB@las\AB@lasx\gdef\AB@lasx{\protect\Authands}%
|
|
| 586 |
\gdef\AB@as{\Authsep}%
|
|
| 587 |
\fi |
|
| 588 |
\gdef\AB@au@str{#2}}%
|
|
| 589 |
\@temptokena=\expandafter{\AB@authlist}%
|
|
| 590 |
\let\\=\authorcr |
|
| 591 |
\xdef\AB@authlist{\the\@temptokena
|
|
| 592 |
\protect\@nameuse{@sep\number\c@authors}%
|
|
| 593 |
\protect\Authfont#2\AB@authnote{\AB@note}}%
|
|
| 594 |
%new |
|
| 595 |
\@temptokena=\expandafter{\AB@authrunning}%
|
|
| 596 |
\let\\=\authorcr |
|
| 597 |
\xdef\AB@authrunning{\the\@temptokena
|
|
| 598 |
\protect\@nameuse{@sep\number\c@authors}#2}%
|
|
| 599 |
% |
|
| 600 |
%new |
|
| 601 |
\@temptokena=\expandafter{\AB@authfortoc}%
|
|
| 602 |
\let\\=\authorcr |
|
| 603 |
\xdef\AB@authfortoc{\the\@temptokena
|
|
| 604 |
\expandafter\noexpand\csname @sep\number\c@authors\endcsname#2}% |
|
| 605 |
% |
|
| 606 |
\endgroup |
|
| 607 |
\ifnum\value{authors}>2\relax
|
|
| 608 |
\@namedef{@sep\number\c@authors}{\Authands}\fi
|
|
| 609 |
\newaffilfalse |
|
| 610 |
} |
|
| 611 |
\renewcommand\affil[2][]% |
|
| 612 |
{\newaffiltrue\let\AB@blk@and\AB@pand
|
|
| 613 |
\if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}%
|
|
| 614 |
\setcounter{Maxaffil}{0}\fi
|
|
| 615 |
\begingroup |
|
| 616 |
\let\protect\@unexpandable@protect |
|
| 617 |
\def\thanks{\protect\thanks}\def\footnote{\protect\footnote}%
|
|
| 618 |
\@temptokena=\expandafter{\AB@authors}%
|
|
| 619 |
{\def\\{\protect\\\protect\Affilfont}\xdef\AB@temp{#2}}%
|
|
| 620 |
\xdef\AB@authors{\the\@temptokena\AB@las\AB@au@str
|
|
| 621 |
\protect\\[\affilsep]\protect\Affilfont\AB@temp}% |
|
| 622 |
\gdef\AB@las{}\gdef\AB@au@str{}%
|
|
| 623 |
{\xdef\AB@temp{#2}}%
|
|
| 624 |
\@temptokena=\expandafter{\AB@affillist}%
|
|
| 625 |
\xdef\AB@affillist{\the\@temptokena \AB@affilsep
|
|
| 626 |
\AB@affilnote{\AB@note}\protect\Affilfont\AB@temp}%
|
|
| 627 |
\endgroup |
|
| 628 |
\let\AB@affilsep\AB@affilsepx} |
|
| 629 |
\renewcommand\@author{\ifx\AB@affillist\AB@empty\AB@authrunning\else
|
|
| 630 |
\ifnum\value{affil}>\value{Maxaffil}\def\rlap##1{##1}%
|
|
| 631 |
\AB@authlist\\[\affilsep] |
|
| 632 |
\labelwidth1.5em\labelsep\z@\leftmargini\labelwidth |
|
| 633 |
\edef\@enumctr{enumi}%
|
|
| 634 |
\list\theenumi{\usecounter\@enumctr\def\makelabel##1{\rlap{##1}\hss}}%
|
|
| 635 |
\AB@affillist |
|
| 636 |
\endlist |
|
| 637 |
\else \AB@authors\fi\fi} |
|
| 638 |
\newcommand*\Copyright[1]{%
|
|
| 639 |
\def\@Copyright{%
|
|
| 640 |
\setbox\@tempboxa\hbox{\includegraphics[height=14\p@,clip]{cc-by}}%
|
|
| 641 |
\hspace*{\wd\@tempboxa}\enskip\ifx#1\@empty \else \textcopyright\ #1;\\\fi
|
|
| 642 |
\href{http://creativecommons.org/licenses/by/3.0/}%
|
|
| 643 |
{\smash{\unhbox\@tempboxa}}\enskip
|
|
| 644 |
licensed under Creative Commons License CC-BY\\ |
|
| 645 |
}} |
|
| 646 |
\Copyright{\@empty}
|
|
| 647 |
\def\keywords#1{\def\@keywords{#1}}
|
|
| 648 |
\let\@keywords\@empty |
|
| 649 |
\def\keywordsHeading{%
|
|
| 650 |
\textcolor{darkgray}{\fontsize{9.5}{12.5}\sffamily\bfseries
|
|
| 651 |
Keywords and phrases\enskip}} |
|
| 652 |
\def\subjclass#1{\gdef\@subjclass{#1}}
|
|
| 653 |
\let\@subjclass\@empty |
|
| 654 |
\def\subjclassHeading{%
|
|
| 655 |
\textcolor{darkgray}{\fontsize{9.5}{12.5}\sffamily\bfseries
|
|
| 656 |
1998 ACM Subject Classification\enskip}} |
|
| 657 |
\def\doiHeading{%
|
|
| 658 |
\textcolor{darkgray}{\fontsize{9.5}{12.5}\sffamily\bfseries
|
|
| 659 |
Digital Object Identifier\enskip}} |
|
| 660 |
\setcounter{page}{1}
|
|
| 661 |
|
|
| 662 |
|
|
| 663 |
\def\DOI#1{\gdef\@DOI{#1}}
|
|
| 664 |
\DOI{}
|
|
| 665 |
\endinput |
|
| 666 |
%% |
|
| 667 |
%% End of file `lipics.cls'. |
|
| 0 | 668 | |
| CSL16/draft/introduction.tex (revision 101) | ||
|---|---|---|
| 1 |
\section{Introduction}
|
|
| 2 |
\anupam{i put all the notes/suggestions at the end, before references.}
|
|
| 3 |
|
|
| 4 |
Free-cut elimination is a rewriting procedure on formal proofs in systems including non-logical axioms and rules, typically induction rules, introduced in \cite{Takeuti87}. It yields proofs in normal form where essentially each cut has at least one of its cut formulas introduced as a principal formula of a non-logical axiom or rule. It is important in proof-theory for complexity results for first-order theories, in particular it has been extensively used in bounded arithmetic for proving complexity bounds on representable functions, by the \textit{witnessing methods} \cite{Buss86book}.
|
|
| 5 |
|
|
| 6 |
Linear logic can be seen as a decomposition of both intuitionistic and classical logic, based on a thorough analysis of the duplications and erasing of formulas in proofs -- the structural rules, and has been used in particular in such areas as the proofs-as-programs approach to computation, proof search and logic programming. By controlling structural rules with specific connectives, the \textit{exponential} modalities, linear logic has allowed for a fine study of complexity bounds in cut-elimination procedures, leading in particular to the definition of variants with polynomial time complexity \cite{Girard98}. However most of this work has been done for 'purely logical' linear logic, or at least for variants with full cut elimination procedure.
|
|
| 7 |
|
|
| 8 |
In this paper we aim at exploring in which way the complementary techniques of free-cut elimination and linear logic can be combined to analyze properties of first-order theories in which structural rules play a critical r\^ole. We believe this to be of a general interest, in particular to understand in a more global way the combined effects of induction principles and structural rules in proof-theory. Some related works have been carried out by considering extensions of linear logic, in particular with fix point rules \cite{Baelde12}, but to our knowledge no general study of free-cut elimination in linear logic had been undertaken. Our first contribution will be to give a natural extension of linear logic with first-order theories and to provide general sufficient conditions on non-logical axioms and rules for the system to admit a free-cut elimination theorem.
|
|
| 9 |
|
|
| 10 |
In a second step we will illustrate the usage of our free-cut elimination theorem by an application to the area of arithmetic systems for complexity classes. Our starting point is an arithmetic system based on modal logic and due to Bellantoni-Hofmann \cite{BelHof:02}, called $\mathcal{A}_2^1$, characterizing the polynomial time functions. In this system following Leivant \cite{Leivant94:intrinsic-theories} functions are defined by first-order equational specifications. The main result of $\mathcal{A}_2^1$ is then that the provably total functions are exactly the polynomial time class. These systems differ from the bounded arithmetic approach \cite{Buss86book} in the sense that they do not employ bounds on quantifiers, but use restrictions of the induction principle based either on the modality connective \cite{BelHof:02} or on a ramification of formulas \cite{Leivant94:intrinsic-theories}. The proof-technique employed is in both case a realizability argument, which is applied to an intuitionistic version of the system. In \cite{BelHof:02} the target language of the realizability argument is a higher-order language \cite{Hofmann00}, SLR, based on safe recursion \cite{BellantoniCook92}. In a second step the result is extended to the classical variant $\mathcal{A}_2^1$ by using the Friedman A translation.
|
|
| 11 |
|
|
| 12 |
Our contribution will be to show that witnessing methods coming from bounded arithmetic \cite{Buss86book} can be employed to prove bounds directly for classical systems similar to $\mathcal{A}_2^1$ by taking advantage of free-cut elimination. Actually we will consider a weaker version of $\mathcal{A}_2^1$, where induction is restricted to a smaller class of formulas (\textit{positive} formulas) in a way similar to Leivant's $RT_0$ system \cite{Leivant94:intrinsic-theories}.
|
|
| 13 |
We illustrate in the same time the relationship between $\mathcal{A}_2^1$ and linear logic, which was hinted but not investigated in the original paper \cite{BelHof:02}.
|
|
| 14 |
|
|
| 15 |
|
|
| CSL16/draft/preliminaries.tex (revision 101) | ||
|---|---|---|
| 1 |
\section{Preliminaries}
|
|
| 2 |
% |
|
| 3 |
%\todo{consider removing and just have a section on linear logic, including free-cut elimination.}
|
|
| 4 |
|
|
| 5 |
\anupam{need to add a note on semantics}
|
|
| 6 |
% |
|
| 7 |
% |
|
| 8 |
%\paragraph*{Notation}
|
|
| 9 |
%Fix conventions here for use throughout: |
|
| 10 |
%\begin{itemize}
|
|
| 11 |
%\item Eigenvariables: $a, b , c$. |
|
| 12 |
%\item (Normal) variables: $u,v,w$. (only when distinction is important, e.g.\ $u^{!\nat}$).
|
|
| 13 |
%\item (Safe) variables: $x,y,z$. (as above, e.g.\ $x^\nat$.) |
|
| 14 |
%\item Terms: $r,s,t$. |
|
| 15 |
%\item Formulae: $A,B,C$. |
|
| 16 |
%\item Atomic formulae: $p,q$. |
|
| 17 |
%\item Free variables in a term, formula, sequent: $FV(u)$, $FV(A)$, $FV(\Gamma)$ |
|
| 18 |
%\item Sequents: $\Gamma, \Delta, \Sigma, \Pi$. |
|
| 19 |
%\item lists of formulas $A(\vec{x})$, $!A(\vec{x})$ (in particular for $A=N$).
|
|
| 20 |
%\item Proofs: $\pi, \rho, \sigma$. |
|
| 21 |
%\item Theories: $\mathcal T$. Sequent systems: $\mathcal S$. |
|
| 22 |
%\end{itemize}
|
|
| 23 |
% |
|
| 24 |
%\subsection{Linear logic}
|
|
| 25 |
|
|
| 26 |
%\anupam{use a system that is already in De Morgan form, for simplicity.}
|
|
| 27 |
%\anupam{Have skipped units, can reconsider this when in arithmetic. Also in affine setting can be recovered by any contradiction/tautology.}
|
|
| 28 |
|
|
| 29 |
We formulate linear logic without units with usual notation for the multiplicatives, additives and exponentials from \cite{Girard87}. We restrict negation to the atoms, thus formulae are always in De Morgan normal form, and this is reflected in the sequent system below. We have included rules for arbitrary weakening for working in affine settings.
|
|
| 30 |
|
|
| 31 |
%\anupam{positive and negative.}
|
|
| 32 |
|
|
| 33 |
|
|
| 34 |
|
|
| 35 |
\begin{definition}
|
|
| 36 |
%[Sequent calculus for linear logic] |
|
| 37 |
[Sequent calculus for affine linear logic] |
|
| 38 |
\label{def:LLsequentcalculus}
|
|
| 39 |
|
|
| 40 |
We define the following calculus: |
|
| 41 |
\[ |
|
| 42 |
\begin{array}{l}
|
|
| 43 |
\begin{array}{cccc}
|
|
| 44 |
\vlinf{\lefrul{\bot}}{}{p, \lnot{p} \seqar }{}
|
|
| 45 |
& \vlinf{\id}{}{p \seqar p}{}
|
|
| 46 |
& \vlinf{\rigrul{\bot}}{}{\seqar p, \lnot{p}}{}
|
|
| 47 |
& \vliinf{\cut}{}{\Gamma, \Sigma \seqar \Delta , \Pi}{ \Gamma \seqar \Delta, A }{\Sigma, A \seqar \Pi}
|
|
| 48 |
\\ |
|
| 49 |
\noalign{\bigskip}
|
|
| 50 |
%\text{Multiplicatives:} & & & \\
|
|
| 51 |
%\noalign{\bigskip}
|
|
| 52 |
\vliinf{\lefrul{\lor}}{}{\Gamma,\Sigma, A \lor B \seqar \Delta, \Pi}{\Gamma, A \seqar \Delta}{\Sigma , B \seqar \Pi}
|
|
| 53 |
& |
|
| 54 |
\vlinf{\lefrul{\land}}{}{\Gamma, A\land B \seqar \Delta}{\Gamma, A , B \seqar \Delta}
|
|
| 55 |
& |
|
| 56 |
\vlinf{\rigrul{\lor}}{}{\Gamma \seqar \Delta, A \lor B}{\Gamma \seqar \Delta, A, B}
|
|
| 57 |
& |
|
| 58 |
\vliinf{\rigrul{\land}}{}{\Gamma, \Sigma \seqar \Delta , \Pi , A \land B}{\Gamma \seqar \Delta , A}{\Sigma \seqar \Pi , B}
|
|
| 59 |
\\ |
|
| 60 |
\noalign{\bigskip}
|
|
| 61 |
%\text{Additives:} & & & \\
|
|
| 62 |
%\noalign{\bigskip}
|
|
| 63 |
\vliinf{\lefrul{\laor}}{}{\Gamma, A \laor B \seqar \Delta}{\Gamma , A \seqar \Delta}{\Gamma, B \seqar \Delta}
|
|
| 64 |
& |
|
| 65 |
\vlinf{\lefrul{\laand}}{}{\Gamma, A_1\laand A_2 \seqar \Delta}{\Gamma, A_i \seqar \Delta}
|
|
| 66 |
& |
|
| 67 |
%\vlinf{\lefrul{\laand}}{}{\Gamma, A\laand B \seqar \Delta}{\Gamma, B \seqar \Delta}
|
|
| 68 |
%\quad |
|
| 69 |
\vlinf{\rigrul{\laor}}{}{\Gamma \seqar \Delta, A_1\laor A_2}{\Gamma \seqar \Delta, A_i}
|
|
| 70 |
& |
|
| 71 |
%\vlinf{\rigrul{\laor}}{}{\Gamma \seqar \Delta, A\laor B}{\Gamma \seqar \Delta, B}
|
|
| 72 |
%\quad |
|
| 73 |
\vliinf{\rigrul{\laand}}{}{\Gamma \seqar \Delta, A \laand B }{\Gamma \seqar \Delta, A}{\Gamma \seqar \Delta, B}
|
|
| 74 |
\\ |
|
| 75 |
\noalign{\bigskip}
|
|
| 76 |
%\text{Exponentials:} & & & \\
|
|
| 77 |
%\noalign{\bigskip}
|
|
| 78 |
\vlinf{\lefrul{?}}{}{!\Gamma, ?A \seqar ?\Delta}{!\Gamma , A \seqar ?\Delta}
|
|
| 79 |
& |
|
| 80 |
\vlinf{\lefrul{!}}{}{\Gamma, !A \seqar \Delta}{\Gamma, A \seqar \Delta}
|
|
| 81 |
& |
|
| 82 |
\vlinf{\rigrul{?}}{}{\Gamma \seqar \Delta, ?A}{\Gamma \seqar \Delta, A}
|
|
| 83 |
& |
|
| 84 |
\vlinf{\rigrul{!}}{}{!\Gamma \seqar ?\Delta, !A}{!\Gamma \seqar ?\Delta, A}
|
|
| 85 |
\\ |
|
| 86 |
\noalign{\bigskip}
|
|
| 87 |
%\text{Structural:} & & & \\
|
|
| 88 |
%\noalign{\bigskip}
|
|
| 89 |
|
|
| 90 |
%\vlinf{\lefrul{\wk}}{}{\Gamma, !A \seqar \Delta}{\Gamma \seqar \Delta} %% linear logic weakening
|
|
| 91 |
\vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
|
|
| 92 |
& |
|
| 93 |
\vlinf{\lefrul{\cntr}}{}{\Gamma, !A \seqar \Delta}{\Gamma, !A, !A \seqar \Delta}
|
|
| 94 |
& |
|
| 95 |
%\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, ?A }{\Gamma \seqar \Delta} %% linear logic weakening
|
|
| 96 |
|
|
| 97 |
\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A }{\Gamma \seqar \Delta}
|
|
| 98 |
& |
|
| 99 |
\vlinf{\rigrul{\cntr}}{}{\Gamma \seqar \Delta, ?A}{\Gamma \seqar \Delta, ?A, ?A}
|
|
| 100 |
\\ |
|
| 101 |
\noalign{\bigskip}
|
|
| 102 |
\vlinf{\lefrul{\exists}}{}{\Gamma, \exists x . A(x) \seqar \Delta}{\Gamma, A(a) \seqar \Delta}
|
|
| 103 |
& |
|
| 104 |
\vlinf{\lefrul{\forall}}{}{\Gamma, \forall x. A(x) \seqar \Delta}{\Gamma, A(t) \seqar \Delta}
|
|
| 105 |
& |
|
| 106 |
\vlinf{\rigrul{\exists}}{}{\Gamma \seqar \Delta, \exists x . A(x)}{ \Gamma \seqar \Delta, A(t)}
|
|
| 107 |
& |
|
| 108 |
\vlinf{\rigrul{\forall}}{}{\Gamma \seqar \Delta, \forall x . A(x)}{ \Gamma \seqar \Delta, A(a) } \\
|
|
| 109 |
%\noalign{\bigskip}
|
|
| 110 |
% \vliinf{mix}{}{\Gamma, \Sigma \seqar \Delta , \Pi}{ \Gamma \seqar \Delta}{\Sigma \seqar \Pi} &&&
|
|
| 111 |
\end{array}
|
|
| 112 |
\end{array}
|
|
| 113 |
\] |
|
| 114 |
where $p$ is atomic, $i \in \{ 1,2 \}$ and the eigenvariable $a$ does not occur free in $\Gamma$ or $\Delta$.
|
|
| 115 |
\end{definition}
|
|
| 116 |
%\todo{$\limp$ abbreviation for ...}
|
|
| 117 |
%\todo{bracketing}
|
|
| 118 |
|
|
| 119 |
We do not formally include a symbol for implication but we sometimes write $A \limp B$ as shorthand for $\lnot{A} \lor B$, where $\lnot A$ is the De Morgan dual of $A$. We often omit brackets under associativity of, and when writing long implications we assume the right-most bracketing.
|
|
| 120 |
|
|
| 121 |
We will use standard terminology to track formulae in proofs, as presented in e.g.\ \cite{Buss98:intro-proof-theory}.
|
|
| 122 |
In particular, each rule has a distinguished \textit{principal formula}, e.g.\
|
|
| 123 |
$A \lor B$ in rule $\lefrul{\lor}$ (and similarly for all rules for connectives) and $?A$ in rule $\rigrul{\cntr}$, and \emph{active formulae}, e.g.\ $A$ and $B$ in $\lefrul{\lor}$ and so on. These induce the notions of (direct) descendants and ancestors in proofs, as in \cite{Buss98:intro-proof-theory}.
|
|
| 124 |
%The \textit{direct ancestor} relation on occurrences of formulas in a proof is defined to keep track of identity of formulas from line to line, in the usual way.
|
|
| 125 |
|
|
| 126 |
|
|
| 127 |
% Observe that we do not consider here any exchange rules, the sequence are made of multisets of formulas and exchanges are implicit. Note that this system is \textit{affine} in the sense that it includes general weakening rules $\rigrul{\wk}$ and $\lefrul{\wk}$, while in linear logic $\rigrul{\wk}$ (resp. $\lefrul{\wk}$) is restricted to formulas of the form $?A$ (resp. $!A$). In the following though, by linear logic we will mean affine linear logic.
|
|
| 128 |
\subsection{Theories and systems}
|
|
| 129 |
% \anupam{mention equality axioms and first-order theories and models at some point.}
|
|
| 130 |
|
|
| 131 |
A \emph{language} is a set of nonlogical symbols (i.e.\ constants, functions, predicates) and a \emph{theory} a set of closed formulae over some language. We will assume that all theories extend the theory of equality:
|
|
| 132 |
\[ |
|
| 133 |
\begin{array}{rl}
|
|
| 134 |
\refl & \forall x . x = x \\ |
|
| 135 |
\symm & \forall x, y. (x = y \limp y = x )\\ |
|
| 136 |
\trans & \forall x , y , z . ( x = y \limp y = z \limp x = z ) \\ |
|
| 137 |
\subst_f & \forall \vec x , \vec y . (\vec x = \vec y \limp f(\vec x) = f(\vec y) ) \\ |
|
| 138 |
\subst_P & \forall \vec x , \vec y. (\vec x = \vec y \limp P(\vec x) \limp P(\vec y) ) |
|
| 139 |
\end{array}
|
|
| 140 |
\] |
|
| 141 |
where $\vec x = \vec y$ is shorthand for $x_1 = y_1 \land \vldots \land x_n = y_n$. |
|
| 142 |
|
|
| 143 |
\newcommand{\init}{\mathit{init}}
|
|
| 144 |
We consider \emph{systems} of `nonlogical' rules extending Dfn.~\ref{def:LLsequentcalculus}, which we write as follows,
|
|
| 145 |
\[ |
|
| 146 |
\begin{array}{cc}
|
|
| 147 |
\vlinf{\init}{}{ \seqar A}{} & \vlinf{(R)}{}{ !\Gamma , \Sigma' \seqar \Delta' , ? \Pi }{ \{!\Gamma , \Sigma_i \seqar \Delta_i , ? \Pi \}_{i \in I} }
|
|
| 148 |
\end{array}
|
|
| 149 |
\] |
|
| 150 |
where, in each rule $(R)$, $I$ is a finite possibly empty set (indicating the number of premises) and we assume the following conditions and terminology: |
|
| 151 |
\begin{enumerate}
|
|
| 152 |
\item In $(R)$ the formulas of $\Sigma', \Delta'$ are called \textit{principal}, those of $\Sigma_i, \Delta_i$ are called \textit{active}, and those of
|
|
| 153 |
$ !\Gamma, ? \Pi$ are called \textit{context formulas}. In $\init$ $A$ is called a principal formula;
|
|
| 154 |
\item Each rule $(R)$ comes with a list $a_1$, \dots, $a_k$ of eigenvariables such that each $a_j$ appears in exactly one $\Sigma_i, \Delta_i$ (so in some active formulas of exactly one premise) and does not appear in $\Sigma', \Delta'$ nor $ !\Gamma, ? \Pi$; |
|
| 155 |
\item A system $\system$ of rules must be closed under substitutions of free variables by terms (where these substitutions do not contain the eigenvariables $a_j$ in their domain or codomain). |
|
| 156 |
\item $ \Sigma'$ (resp. $\Delta'$) does not contain any formula of the shape $?A$ (resp. $!A$). |
|
| 157 |
\end{enumerate}
|
|
| 158 |
|
|
| 159 |
%The distinction between modal and nonmodal formulae in $(R)$ induces condition 1 |
|
| 160 |
Conditions 2 and 3 are actually standard for nonlogical rules, independently of the logical setting, c.f.\ \cite{Beckmann11}. Condition 2 reflects the intuitive idea that often we need in our nonlogical rules a notion of \textit{bound} variables in the active formulas (typically for induction rules), and the eigenvariables play this role. Condition 3 is needed for our proof system to admit elimination of cuts on quantified formulas. Condition 4 and the conventions of 1 is peculiar to our linear logic setting in order to carry out certain proof-theoretic manipulations, mainly free-cut elimination in Sect.~\ref{sect:free-cut-elim}.
|
|
| 161 |
% |
|
| 162 |
|
|
| 163 |
|
|
| 164 |
Observe that $\init$ rules can actually be seen as particular cases of $(R)$ rules, with no premise, so in the following we will only consider $(R)$ rules. |
|
| 165 |
|
|
| 166 |
|
|
| 167 |
% \patrick{Anupam: note that I had to strengthen the conditions for the rules (R). Condition (1) is needed
|
|
| 168 |
% to be able to commute a cut with (R), in the case where this cut is with a principal formula of a ($\rigrul{!}$) rule.
|
|
| 169 |
% |
|
| 170 |
% Condition (2) is a sufficient condition to avoid the following situation: cut between a principal formula in say $\Delta'$ in the conclusion of an (R) rule (left premise), and a context formula in $!\Gamma$ in the conclusion of another (R) rule (right premise). Indeed this is not an anchored cut in our sense, but we cannot eliminate it in general (because we cannot commute the cut with (R) up the right premise). |
|
| 171 |
% } |
|
| 172 |
|
|
| 173 |
|
|
| 174 |
|
|
| 175 |
|
|
| 176 |
To each theory $\theory$ we formally associate the system obtained by adding $\seqar A$ as an $\init$ rule for each $A \in \theory$.\footnote{Notice that this naively satisfies condition 3 since theories consist of only closed formulae.} A proof in such a system will be called a \textit{ $\mathcal T$-proof}, or just {proof} when there is no risk of confusion.
|
|
| 177 |
% |
|
| 178 |
% |
|
| 179 |
% In what follows we will be interested in an example of theory $\mathcal T$ which is a form of arithmetic. |
|
| 180 |
|
|
| 181 |
Let us give an example of a possible nonlogical rule that appears later in Sect.~\ref{sect:arithmetic}:
|
|
| 182 |
|
|
| 183 |
\[ |
|
| 184 |
\vliinf{\ind}{}{ !\word(t), !\Gamma , A(\epsilon) \seqar A(t) , ?\Delta }{!\Gamma , !\word(a), A(a) \seqar A(s_0 a ), ?\Delta }{ !\Gamma , !\word(a), A(a) \seqar A(s_1 a ), ?\Delta }
|
|
| 185 |
\] |
|
| 186 |
|
|
| 187 |
So here we have $I=\{0,1\}$ (two premises), $\Sigma_i=!\word(a), A(a)$ and $\Delta_i= A(s_i a )$ for $i=0,1$, $\Sigma'= !\word(t), A(\epsilon)$, $\Delta'= A(t)$. So condition 2 is satisfied provided $a\notin FV(!\Gamma, ?\Delta)$ and $a \notin FV(t)$.
|
|
| 188 |
%\[ |
|
| 189 |
% \vliinf{}{(x \notin \FV(\Gamma, \Delta))}{ !\Gamma , A(\epsilon) \seqar A(t) , ?\Delta }{ !\Gamma , A(x) \seqar A(s_0 x ), ?\Delta }{ !\Gamma, A(x) \seqar A( s_1 x ) , ?\Delta}
|
|
| 190 |
% \] |
|
| 191 |
|
|
| 192 |
|
|
| 193 |
A proof in such a system will be called a \textit{ $\mathcal T$-proof}, or just \textit{proof} when there is no risk of confusion.
|
|
| 194 |
% The rules of Def. \ref{def:LLsequentcalculus} are called \textit{logical rules} while the rules (ax) and (R) of $\mathcal T$ are called \textit{non-logical}.
|
|
| 195 |
% |
|
| 196 |
% As usual rules come with a notion of \textit{principal formulas}, which are a subset of the rules in the conclusion, e.g.:
|
|
| 197 |
% $A \lor B$ in rule $\lefrul{\lor}$ (and similarly for all rules for connectives); $?A$ in rule $\rigrul{\cntr}$; all conclusion formulas in axiom rules;
|
|
| 198 |
% $\Sigma', \Delta'$ in rule (R). |
|
| 199 |
|
|
| 200 |
|
|
| 201 |
% \anupam{15/04: add definitions of theories and systems, unions, rules vs axioms etc. and abuses of notation:
|
|
| 202 |
% sometimes use same symbol for theory and system if fixed in advance; |
|
| 203 |
% sometimes coincide axiom with initial rule; |
|
| 204 |
% } |
|
Formats disponibles : Unified diff