Révision 112

CSL16/submitted/bc-convergence.tex (revision 112)
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, hence any function in $\FP$. 
7
%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.
8
%
9
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.
10

  
11
We will assume the formulation of BC programs with regular PRN, not simultaneous PRN.
12

  
13

  
14
%\subsection{Convergence in arithmetic}
15

  
16
%\begin{theorem}
17
%	[Convergence]
18
%	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))$.
19
%\end{theorem}
20

  
21
%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.
22
\begin{theorem}
23
%	[Convergence]
24
\label{thm:arith-proves-bc-conv}
25
	If $\eqspec$ is a BC program defining a function $f$, then $I\sigzer$ proves $\conv(f, \eqspec)$.
26
\end{theorem}
27

  
28
%\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.}
29

  
30
\begin{proof}[Proof sketch]
31
%	We write function symbols in $\arith$ with arguments delimited by $;$, as for BC-programs. 
32
	We appeal to Lemma~\ref{lemma:spec-norm-form} and show that $\closure{\eqspec} \cup I\sigzer$ proves $\forall \vec{u}^{!\word} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))$.
33
%	\begin{equation}
34
%	\label{eqn:prv-cvg-ih}
35
%\forall \vec{u}^{!\word} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))
36
%	\end{equation}
37
	We proceed by induction on the structure of a BC program for $f$, and sketch only the key cases here.
38
%	We give some key cases in what follows.
39
	
40
	Suppose $f(u, \vec v ; \vec x)$ is defined by PRN from functions $g(\vec v ; \vec x), h_i ( u , \vec v ; \vec x , y )$.
41
%	\[
42
%	\begin{array}{rcl}
43
%	f(\epsilon,\vec v ; \vec x) & = & g(\vec v ; \vec x) \\
44
%	f(\succ_i u , \vec v; \vec x) & = & h_i (u, \vec v ; \vec x , f(u , \vec v ; \vec x))
45
%	\end{array}
46
%	\]
47
%	By the inductive hypothesis we have \eqref{eqn:prv-cvg-ih} for $g,h_0,h_1$ in place of $f$. 
48
	From the inductive hypothesis for $g$, we construct the following proof,
49
	\begin{equation}
50
	\label{eqn:prn-cvg-base}
51
	\small
52
	\vlderivation{
53
			\vliq{\beta}{}{!\word(\vec v) , \word (\vec x) \seqar \word(f (\epsilon , \vec v ; \vec x)) }{
54
				\vliq{\alpha}{}{!\word (\vec v) , \word (\vec x) \seqar \word (g (\vec v ; \vec x) ) }{
55
%					\vltr{\IH}{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x)) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
56
%				\vliq{}{}{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x))}{\vlhy{}}
57
\vlhy{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x))}
58
					}
59
				}
60
			}
61
	\end{equation}
62
 where $\alpha $ is purely logical and $\beta$ is obtained from $\closure{\eqspec}$ and equality.	
63
%	We first prove,
64
%	\begin{equation}
65
%	!\word (a) , !\word (\vec v) , \word (\vec x) \land \word (f( a , \vec v ; \vec x ) )
66
%	\seqar
67
%	\word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) )
68
%	\end{equation}
69
%	for $i=0,1$, whence we will apply $\ind$. We construct the following proofs:
70
We also construct the proofs,
71
	\begin{equation}
72
	\label{eqn:prn-cvg-ind}
73
	%\vlderivation{
74
	%	\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) ) }{
75
	%	\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) )   }{
76
	%		\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) )    }{
77
	%			\vlin{\id}{}{\word(\vec x) \seqar \word (\vec x) }{\vlhy{}}
78
	%			}{
79
	%			\vliq{\beta}{}{  \word (\vec x) , \word (f(u , \vec v ; \vec x) ) \seqar \word ( f(\succ_i u , \vec v ; \vec x) ) }{
80
	%				\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 )) ) }{
81
	%					\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}}
82
	%					}
83
	%				}
84
	%			}
85
	%		}
86
	%	}
87
	%	}
88
	\small
89
	\vlderivation{
90
	\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 ) ) }{
91
	\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 ) )}{
92
	\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 ) )}{
93
	\vlin{\id}{}{\word (\vec x) \seqar \word (\vec x)}{\vlhy{}}
94
	}{
95
		\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 ) )  }{
96
				\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 ) ) )   }{
97
%					\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}}
98
%\vliq{}{}{ \seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word , y^\word  .  \word ( h_i ( u, \vec v ; \vec x, y ) ) }{\vlhy{}}
99
\vlhy{\seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word , y^\word  .  \word ( h_i ( u, \vec v ; \vec x, y ) )}
100
				}
101
			}
102
			}
103
	}
104
	}
105
	}
106
\end{equation}
107
	from the inductive hypotheses for $h_i$, where $\alpha$ and $\beta$ are similar to before.
108
%%	so let us suppose that $\word(\vec v)$ and prove,
109
%	\begin{equation}
110
%% \forall u^{!\word} .  (\word(\vec x) \limp \word(f(u , \vec v ; \vec x)  )
111
%!\word (u) , !\word (\vec v) , \word (\vec x) \seqar \word ( f(u, \vec v ; \vec x) )
112
%	\end{equation}
113
%	by $\cax{\Sigma^N_1}{\pind}$ on $u$. After this the result will follow by $\forall$-introduction for $u, \vec v , \vec x$.
114
	
115
%	In the base case we have the following proof,
116
%	\[
117
%	\vlderivation{
118
%	\vlin{\rigrul{\limp}}{}{ \seqar \word (\vec x) \limp \word (f(\epsilon , \vec v ; \vec x )) }{
119
%		\vliq{\beta}{}{ \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x) ) }{
120
%			\vliq{\alpha}{}{ \word (\vec x) \seqar \word ( g (\vec v ; \vec x) ) }{
121
%				\vltr{IH}{\seqar \forall v^{!\word} . \forall x^\word . \word( g(\vec v ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
122
%				}
123
%			}
124
%		}		
125
%		}
126
Finally we compose these proofs as follows:
127
\[
128
\small
129
\vlderivation{
130
\vliq{\rigrul{\forall}}{}{ \seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word . \word ( f(u , \vec v ;\vec x)  ) }{
131
\vliq{\lefrul{\cntr}}{}{ !\word (u), !\word (\vec v) , \word (\vec x) \seqar  \word ( f(u , \vec v ;\vec x)  )  }
132
{
133
\vliin{\cut}{}{  !\word (u), !\word(\vec v), !\word (\vec v) , \word (\vec x) , \word (\vec x) \seqar  \word ( f(u , \vec v ;\vec x)  )   }{
134
%\vltr{\pi_\epsilon}{ !\word (\vec v) , \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
135
\vlhy{ !\word (\vec v) , \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x ) ) }
136
}
137
{
138
\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 ) ) }{
139
\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 ) )  }{
140
\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 ) )  }
141
{
142
\vlhy{
143
\left\{
144
%\vltreeder{\pi_i}{   !\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}{}{}
145
   !\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 ) )  
146
\right\}_i
147
}
148
}
149
}
150
}
151
}
152
}
153
}
154
}
155
\]
156
for $i=0,1$, where the steps $\inv{\land}$ are obtained from invertibility of $\lefrul{\land}$.
157

  
158
%For the inductive step, we suppose that $\word (u)$ and the proof is as follows,
159
%
160
%where the steps indicated $\alpha$ and $\beta$ are analogous to those for the base case.
161
%%, and $\gamma$ is an instance of the general scheme:
162
%%\begin{equation}
163
%%\label{eqn:nat-cntr-left-derivation}
164
%%\vlderivation{
165
%%	\vliin{\cut}{}{ \word (t) , \Gamma \seqar \Delta }{
166
%%		\vlin{\wordcntr}{}{ \word (t) \seqar \word (t) \land \word (t) }{\vlhy{}}
167
%%		}{
168
%%		\vlin{\lefrul{\land}}{}{\word (t)  \land \word (t) , \Gamma \seqar \Delta}{ \vlhy{\word (t)  ,\word (t) , \Gamma \seqar \Delta} }
169
%%		}
170
%%	}
171
%%\end{equation}
172
%
173
%%
174
%%For the inductive step, we need to show that,
175
%%\[
176
%%\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) )   )
177
%%\]
178
%%so let us suppose that $N(x)$ and we give the following proof:
179
%%\[
180
%%\vlderivation{
181
%%	\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)  ) }{
182
%%		\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)  ) }{
183
%%			\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) ) ) }{
184
%%				\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 }}
185
%%			}{
186
%%			\vlhy{2}
187
%%		}
188
%%	}{
189
%%	\vlhy{3}
190
%%}
191
%%}
192
%%}
193
%%\]
194
%%TOFINISH
195

  
196
Safe compositions are essentially handled by many cut steps, using $\alpha$ and $\beta$ like derivations again and, crucially, left-contractions on both $!\word$ and $\word $ formulae.\footnote{In the latter case, strictly speaking, we mean cuts against $\wordcntr$.} The initial functions are routine.
197

  
198

  
199
%We also give the case of the conditional initial function $C (; x, y_\epsilon , y_0, y_1)$, to exemplify the use of additives. 
200
%%The conditional is defined equationally as:
201
%%\[
202
%%\begin{array}{rcl}
203
%%C (; \epsilon, y_\epsilon , y_0, y_1  ) & = & y_\epsilon \\
204
%%C(; \succ_0 x , y_\epsilon , y_0, y_1) & = & y_0 \\
205
%%C(; \succ_1 x , y_\epsilon , y_0, y_1) & = & y_1 
206
%%\end{array}
207
%%\]
208
%Let $\vec y = ( y_\epsilon , y_0, y_1 )$ and construct the required proof as follows:
209
%\[
210
%\small
211
%\vlderivation{
212
%\vliq{}{}{ \word (x) , \word (\vec y) \seqar \word ( C(; x ,\vec y) )}{
213
%\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) ) }{
214
%\vliq{}{}{ x = \epsilon , \word (\vec y) \seqar \word ( C(; x , \vec y) ) }{
215
%\vliq{}{}{ \word (\vec y) \seqar \word ( C( ; \epsilon , \vec y ) ) }{
216
%\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_\epsilon) }{ 
217
%\vlin{\id}{}{\word (y_\epsilon) \seqar \word ( y_\epsilon )}{\vlhy{}}
218
%}
219
%}
220
%}
221
%}{
222
%\vlhy{
223
%\left\{ 
224
%\vlderivation{
225
%\vlin{\lefrul{\exists}}{}{ \exists z^\word . x = \succ_i z , \word (\vec y) \seqar \word ( C(;x , \vec y) ) }{
226
%\vliq{}{}{ x = \succ_i a , \word (\vec y ) \seqar \word (C(; x ,\vec y)) }{
227
%\vliq{}{}{ \word (\vec y) \seqar \word ( C(; \succ_i a , \vec y ) ) }{
228
%\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_i) }{
229
%\vlin{\id}{}{\word (y_i) \seqar \word (y_i)}{\vlhy{}}
230
%}
231
%}
232
%}
233
%}
234
%}
235
%\right\}_{i = 0,1}
236
%}
237
%}
238
%}
239
%}
240
%\]
241
%whence the result follows by $\forall$-introduction.
242
%%The other initial functions are routine.
243
\end{proof}
244

  
245

  
246

  
247

  
248

  
249

  
250

  
251

  
252

  
253

  
254

  
255

  
256

  
257

  
258

  
259

  
260

  
261

  
262

  
263

  
264

  
265

  
266

  
267

  
268

  
269

  
270

  
271

  
272

  
273

  
274

  
275

  
276

  
277

  
278

  
279

  
280

  
281

  
282

  
283

  
284

  
285

  
CSL16/submitted/lipics-v2016.cls (revision 112)
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/submitted/introduction.tex (revision 112)
1
\section{Introduction}
2
%\anupam{i put all the notes/suggestions at the end, before references.}
3
 
4
  \emph{Free-cut elimination}\footnote{Also known as \emph{anchored} or \emph{directed} completeness, \emph{partial} cut-elimination or \emph{weak} cut-elimination in other works.} is a normalisation procedure on formal proofs in systems including nonlogical rules, e.g.\ the axioms and induction rules in arithmetic, introduced in \cite{Takeuti87}. It yields proofs in a form where essentially each cut step has at least one of its cut formulas principal for a nonlogical step. It is an important tool for proving witnessing theorems in first-order theories, and in particular it has been extensively used in \emph{bounded arithmetic} for proving complexity bounds on representable functions, by the \textit{witness function method} \cite{Buss86book}. 
5
  
6
   Linear logic \cite{Girard87} can be seen as a decomposition of both intuitionistic and classical logic, based on a thorough analysis of duplication and erasure of formulas in proofs (i.e.\ the structural rules), and has been particularly useful in proofs-as-programs correspondences, proof search \cite{Andreoli92} and logic programming \cite{Miller04}. By controlling  structural rules with designated modalities, the \textit{exponentials}, linear logic has allowed for a fine study of complexity bounds in the Curry-Howard interpretation, leading to variants with polynomial-time complexity \cite{GirardSS92:bounded-ll} \cite{Girard98} \cite{Lafont04}. 
7
%   However most of this work has been done for 'purely logical' linear logic, or at least for variants with full cut elimination procedure. 
8
   
9
    In this work we explore how the finer granularity of linear logic can be used to control complexity in \emph{first-order theories}, restricting the provably convergent functions rather than the typable terms as in the propositional setting.
10
%     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. 
11
    We believe this to be of general interest, and in particular to understand the effect of substructural restrictions on nonlogical rules, e.g.\ induction, in mathematical theories. Some related works exist, in particular the na\"ive set theories of Girard and Terui \cite{Girard94:lll} \cite{Terui04}, but overall it seems that the first-order proof theory of linear logic is still rather undeveloped; in particular, to our knowledge, there seems to be no general form of free-cut elimination available in the literature (although special cases occur in \cite{LincolnMSS92} and \cite{Baelde12}). Thus our first contribution, in Sect.~\ref{sect:free-cut-elim}, will be to provide general sufficient conditions on nonlogical axioms and rules for a first-order linear logic system to admit free-cut elimination.
12
    
13
    \newcommand{\FP}{\mathbf{FP}}
14
    
15
    We illustrate the usefulness of such a result by proving a witnessing theorem for a fragment of arithmetic in linear logic, showing that the provably convergent functions are precisely the polynomial-time computable functions (Sects.~\ref{sect:bc-convergence} and \ref{sect:wfm}), henceforth denoted $\FP$. Our starting point is an axiomatisation based on a modal logic due to Bellantoni and Hofmann \cite{BelHof:02}, called $\mathcal{A}_2^1$, already known to characterise $\FP$.
16
%    In this system ,following Leivant \cite{Leivant94:intrinsic-theories} functions are defined by first-order equational specifications. 
17
%    The main result of $\mathcal{A}_2^1$ is then that the provably total functions are exactly the polynomial time class. 
18
    This approach, and that of \cite{Leivant94:found-delin-ptime} before, differs from the bounded arithmetic approach in that it does not employ bounds on quantifiers, but rather restricts nonlogical rules by substructural features of the modality \cite{BelHof:02} or by a \emph{ramification} of formulas  \cite{Leivant94:intrinsic-theories}. The proof technique employed in both cases is a realisability argument, for which \cite{Leivant94:found-delin-ptime} operates directly in intuitionistic logic, whereas \cite{BelHof:02} obtains a result for a classical logic via a double-negation translation, relying on a higher-type generalisation of \emph{safe recursion}
19
%     which is applied to an intuitionistic version of the theory. In  \cite{BelHof:02} the target language of the realizability argument is a higher-order language \cite{Hofmann00}, SLR, based on safe recursion 
20
     \cite{BellantoniCook92}. 
21
%     In a second step the result is extended to the classical variant $\mathcal{A}_2^1$ by using the Friedman A translation.
22
    
23
    We show that Buss' witness function method can be employed to extract functions directly for classical systems similar to $\mathcal{A}_2^1$ based in linear logic, by taking advantage of free-cut elimination. The De Morgan normal form available in classical (linear) logic means that the functions we extract remain at ground type, based on the usual safe recursive programs of \cite{BelHof:02}. A similar proof method was used by Cantini in \cite{Cantini02}, who uses combinatory terms as the model of computation as opposed to the equational specifications in this work.\footnote{This turns out to be important due to the handling of right-contraction steps in the witnessing argument.}
24
   
25
   Our result holds for an apparently weaker theory than $\mathcal{A}_2^1$, with induction restricted to positive existential formulas in a way similar to Leivant's $\mathit{RT}_0$ system in \cite{Leivant94:intrinsic-theories}, but the precise relationship between the two logical settings is unclear.
26
%    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}.  
27
We conclude in Sect.~\ref{sect:conclusions} with a survey of related work and some avenues for further applications of the free-cut elimination result. 
28

  
29
A version of this article with full proofs is available at \cite{BaiDas}.
30
   
31

  
CSL16/submitted/bc.tex (revision 112)
1

  
2
\section{Bellantoni-Cook characterisation of polynomial-time functions}
3

  
4
We recall the Bellantoni-Cook  algebra BC of programs defined by \emph{safe} (or \emph{predicative}) recursion on notation \cite{BellantoniCook92}. These will be employed for proving both the completeness   (all polynomial time functions are provably convergent) and the soundness result (all provably total functions are polynomial time) of $\arith$. We consider function symbols $f$ over the domain  $\Word$ with sorted arguments $(\vec u ; \vec x)$, where the inputs $\vec u$ are called \textit{normal} and $\vec x$ are called \textit{safe}. 
5
%Each symbol is given with an arity $m$ and a number $n\leq m$ of normal arguments, and will be denoted as $f(\vec{u};\vec{x})$ where $\vec{u}$ (resp. $\vec{x}$) are the normal (resp. safe) arguments.
6
%We say that an expression is well-sorted if the arities of function symbols in it is respected.
7

  
8
%\patrick{Note that below I used the terminology 'BC programs', to distinguish them from 'functions' in the extensional sense, which I find clearer. But if you prefer to keep 'BC functions' it is all right for me.}
9
\begin{definition}
10
	[BC programs]
11
	BC is the set of programs generated as follows:
12
	%	\paragraph{Initial functions}
13
%	The initial functions are:
14
	\begin{enumerate}
15
		\item The constant functions $\epsilon^k$ which takes $k$ arguments and outputs $\epsilon \in \Word$.
16
		\item The projection functions $\pi^{m,n}_k ( x_1 , \dots , x_m ; x_{m+1} , \dots, x_{m+n} )  := x_k$ for $n,m \in \Word$ and $1 \leq k \leq m+n$.
17
		\item The successor functions $\succ_i ( ; x) := xi$ for $i = 0,1$.
18
		\item The predecessor function $\pred (; x) := \begin{cases}
19
		\epsilon &  \mbox{ if }  x = \epsilon \\
20
		x' &  \mbox{ if }  x = x'i
21
		\end{cases}$.
22
		\item The conditional function 
23
		\[
24
%\begin{array}{rcl}
25
%C (; \epsilon, y_\epsilon , y_0, y_1  ) & = & y_\epsilon \\
26
%C(; x0 , y_\epsilon , y_0, y_1) & = & y_0 \\
27
%C(; x1 , y_\epsilon , y_0, y_1) & = & y_1 
28
%\end{array}
29
C (; \epsilon, y_\epsilon , y_0, y_1  ) := y_\epsilon 
30
\quad
31
C(; x0 , y_\epsilon , y_0, y_1) := y_0 
32
\quad
33
C(; x1 , y_\epsilon , y_0, y_1) := y_1 
34
\]
35
%		$\cond (;x,y,z) := \begin{cases}
36
%		y & \mbox{ if } x=x' 0 \\
37
%		z & \text{otherwise}
38
%		\end{cases}$.
39
	\end{enumerate}
40
	
41
%	One considers the following closure schemes:
42
	\begin{enumerate}
43
	\setcounter{enumi}{5}
44
	\item Predicative recursion on notation (PRN). If $g, h_0, h_1 $ are in BC then so is $f$ defined by,
45
	\[
46
	\begin{array}{rcl}
47
	f(0, \vec v ; \vec x) & := & g(\vec v ; \vec x) \\
48
	f (\succ_i u , \vec v ; \vec x ) & := & h_i ( u , \vec v ; \vec x , f (u , \vec v ; \vec x) )
49
	\end{array}
50
	\]
51
	for $i = 0,1$,  so long as the expressions are well-formed. % (i.e.\ in number/sort of arguments).
52
	\item Safe composition. If $g, \vec h, \vec h'$ are in BC then so is $f$ defined by,
53
	\[
54
	f (\vec u ; \vec x) \quad := \quad g ( \vec h(\vec u ; ) ; \vec h' (\vec u ; \vec x) )
55
	\]
56
	so long as the expression is well-formed.
57
	\end{enumerate}
58
	\end{definition}
59
%Note that the  programs of this class can be defined by equational specifications in a natural way, and in the following we will thus silently identify a BC program with the corresponding equational specification.
60

  
61
We will implicitly identify a BC program with the equational specification it induces.
62
The main property of BC programs is:
63
\begin{theorem}[\cite{BellantoniCook92}]
64
The class of functions representable by BC programs is $\FP$.
65
\end{theorem}	
66
Actually this property remains true if one replaces the PRN scheme by the following more general simultaneous PRN scheme \cite{BellantoniThesis}:
67

  
68
$(f^j)_{1\leq j\leq n}$ are defined by simultaneous PRN scheme  from $(g^j)_{1\leq j\leq n}$, $(h^j_0, h^j_1)_{1\leq j\leq n}$ if for $1\leq j\leq n$ we have:
69
	\[
70
	\begin{array}{rcl}
71
	f^j(0, \vec v ; \vec x) & := & g^j(\vec v ; \vec x) \\
72
	f^j(\succ_i u , \vec v ; \vec x ) & := & h^j_i ( u , \vec v ; \vec x , \vec{f} (u , \vec v ; \vec x) )
73
	\end{array}
74
	\]
75
	for $i = 0,1$,  so long as the expressions are well-formed.
76

  
77
%\anupam{simultaneous recursion?}
78

  
79
%\anupam{also identity, hereditarily safe, expressions, etc.}
80

  
81
%\anupam{we implicitly associate a BC program with its equational specification} 
82

  
83
Consider a well-formed expression $t$ built from function symbols and variables. We say that a variable $y$ occurs \textit{hereditarily safe} in $t$ if, for every subexpression $f(\vec{r}; \vec{s})$ of $t$, the terms in $\vec{r}$ do not contain $y$.
84
For instance $y$ occurs hereditarily safe in $f(u;y,g(v;y))$, but not in $f(g(v;y);x)$.
85
\begin{proposition}
86
[Properties of BC programs]
87
\label{prop:bc-properties}
88
We have the following properties:
89
\begin{enumerate}
90
\item The identity function is in BC.
91
\item Let $t$ be a well-formed expression built from BC programs and variables, denote its free variables as $\{u_1,\dots, u_n,x_1,\dots, x_k\}$, and assume for for each $1\leq i\leq k$, $x_i$ is hereditarily safe in $t$. Then the function $f$ defined
92
by $f(u_1,\dots, u_n,x_1,\dots, x_k):=t$ is a BC program.
93
\item If $f$ is a BC program, then the program $g(\vec{u},v;\vec{x})$ defined as $f(\vec{u};v,\vec{x})$
94
is also a BC program.
95
\end{enumerate}
96

  
97
%\begin{proposition}
98
%[Properties of BC programs]
99
%\label{prop:bc-properties}
100
%We have the following properties:
101
%\begin{enumerate}
102
%\item Hereditarily safe expressions over BC programs are BC definable.
103
%\item Can pass safe input to normal input.
104
%\end{enumerate}
105
\end{proposition}
CSL16/submitted/macros.tex (revision 112)
1

  
2

  
3
%\newtheorem{theorem}{Theorem}
4
%\newtheorem{maintheorem}[theorem]{Main Theorem}
5
%\newtheorem{observation}[theorem]{Observation}
6
%\newtheorem{corollary}[theorem]{Corollary}
7
%\newtheorem{lemma}[theorem]{Lemma}
8
\newtheorem{proposition}[theorem]{Proposition}
9
%\newtheorem{conjecture}[theorem]{Conjecture}
10
%
11
%\theoremstyle{definition}
12
%\newtheorem{definition}[theorem]{Definition}
13
%\newtheorem{example}[theorem]{Example}
14
%\newtheorem{notation}[theorem]{Notation}
15
%\newtheorem{convention}[theorem]{Convention}
16
%\newtheorem{remark}[theorem]{Remark}
17
%\newtheorem{discussion}[theorem]{Discussion}
18

  
19
\newcommand{\todo}[1]{{\color{red}{\textbf{Todo:} #1}}}
20
\newcommand{\anupam}[1]{{\color{orange}{\textbf{Anupam:} #1}}}
21
\newcommand{\patrick}[1]{{\color{blue}{\textbf{Patrick:} #1}}}
22

  
23
\newcommand{\IH}{\mathit{IH}}
24

  
25
\newcommand{\defined}{:=}
26
	
27
	\newcommand{\LL}{\it{LL}}
28
	\vllineartrue
29
	
30
	
31
	\newcommand{\FV}{\mathit{FV}}
32
	
33
	
34
	%specification
35
	
36
	\newcommand{\eqspec}{\mathcal E}
37
	\newcommand{\closure}[1]{\overline{#1}}
38
	
39
	\newcommand{\conv}{\mathit{Conv}}
40
	
41
	% theories
42
	\newcommand{\theory}{\mathcal T}
43
	\newcommand{\system}{\mathcal S}
44

  
45
	
46
	%terms
47
	\newcommand{\pred}{p}
48
	\newcommand{\cond}{C}
49
	\renewcommand{\succ}{\mathsf{s}}
50
	\renewcommand{\epsilon}{\varepsilon}
51
	
52
	% linear connectives
53
	
54
	\newcommand{\limp}{\multimap}
55
	\renewcommand{\land}{\otimes}
56
	\newcommand{\laand}{\&}
57
	\newcommand{\laor}{\oplus}
58
	\renewcommand{\lor}{\vlpa}
59
	\renewcommand{\lnot}[1]{{#1^{\perp}}}
60
	\newcommand{\lnotnot}[1]{#1^{\perp \perp}}
61
	
62
	% classical connectives
63
	
64
	\newcommand{\cimp}{\rightarrow}
65
	\newcommand{\cand}{\wedge}
66
	\newcommand{\cor}{\vee}
67
	\newcommand{\cnot}{\neg}
68
	
69
	
70
	\newcommand{\Ax}{\mathit{(Ax)}}
71
	\newcommand{\Rl}{\mathit{(Rl)}}
72
	
73
	\newcommand{\MELL}{\mathit{MELL}}
74
	\newcommand{\MEAL}{\mathit{MELLW}}
75
	\newcommand{\MELLW}{\mathit{MELL(W)}}
76
	
77
	\newcommand{\Aonetwo}{\mathcal{A}^1_2}
78
	\newcommand{\logic}{\mathit{L}_{\mathcal A} }
79
	
80
	% predicates
81
	\newcommand{\nat}{N}
82
	\newcommand{\word}{W}
83
	
84
	\newcommand{\Nat}{\mathbb{N}}
85
	\newcommand{\Word}{\mathbb{W}}
86
	
87
	%axioms
88
	\newcommand{\wk}{\mathit{wk}}
89
	\newcommand{\impl}{\cimp\text{-}\mathit{l}}
90
	\newcommand{\impcomm}{\mathit{com}}
91
	\newcommand{\conint}{\cand\text{-}\mathit{i}}
92
	\newcommand{\conel}{\cand\text{-}\mathit{e}}
93
	\newcommand{\negclass}{\cnot}
94
	
95
	%equality
96
	\newcommand{\refl}{\mathit{ref}}
97
	\newcommand{\symm}{\mathit{sym}}
98
	\newcommand{\trans}{\mathit{trans}}
99
	\newcommand{\subst}{\mathit{sub}}
100
	
101
	%rules
102
	\newcommand{\inv}[1]{#1\text{-inv}}
103
	
104
	\renewcommand{\mp}{\mathit{mp}}
105
	\newcommand{\gen}{\mathit{gen}}
106
	\newcommand{\inst}{\mathit{ins}}
107
	\newcommand{\id}{\it{id}}
108
	\newcommand{\cut}{\it{cut}}
109
	\newcommand{\multicut}{\it{mcut}}
110
	\newcommand{\indr}{\mathit{IND}}
111
	\newcommand{\nec}{\mathit{nec}}
112
	\newcommand{\tax}{\mathit{T}}
113
	\newcommand{\four}{\mathit{4}}
114
	\newcommand{\kax}{\mathit{K}}
115
	\newcommand{\cntr}{\mathit{cntr}}
116
	
117
	\newcommand{\lefrul}[1]{#1\text{-}\mathit{l}}
118
	\newcommand{\rigrul}[1]{#1\text{-}\mathit{r}}
119
	
120
	%consequence relations
121
	\newcommand{\admits}{\vDash}
122
	\newcommand{\seqar}{\vdash}
123
	\newcommand{\proves}{\vdash_e}
124
	
125
	%induction
126
	\newcommand{\ind}{\mathit{IND}}
127
	\newcommand{\pind}{\mathit{PIND}}
128
	\newcommand{\cax}[2]{#1\text{-}#2}
129

  
130
	\newcommand{\sigone}{\Sigma^{\word^+}_1 }
131
	\newcommand{\sigzer}{\Sigma^{\word^+}_0}
132
	\newcommand{\bharith}{\mathcal A^1_2}
133
	\newcommand{\arith}{I\sigone}
134
	
135
	
136

  
137
          % sizes
138
          \newcommand{\height}[1]{\mathit{h}(#1)}
CSL16/submitted/main.tex (revision 112)
1
\documentclass[a4paper,UKenglish]{lipics-v2016}
2
%This is a template for producing LIPIcs articles. 
3
%See lipics-manual.pdf for further information.
4
%for A4 paper format use option "a4paper", for US-letter use option "letterpaper"
5
%for british hyphenation rules use option "UKenglish", for american hyphenation rules use option "USenglish"
6
% for section-numbered lemmas etc., use "numberwithinsect"
7
 
8
\usepackage{microtype}%if unwanted, comment out or use option "draft"
9

  
10
%\graphicspath{{./graphics/}}%helpful if your graphic files are in another directory
11

  
12
\bibliographystyle{plainurl}% the recommended bibstyle
13

  
14

  
15

  
16

  
17
\usepackage[lutzsyntax]{virginialake}
18
\usepackage{amsmath}
19
\usepackage{amssymb}
20
\usepackage{amsthm}
21
\usepackage{times}
22
%\usepackage{sans}
23
\usepackage{cmll}
24
\usepackage{bm}
25

  
26
\input{macros}
27

  
28
\begin{document}
29

  
30
% Author macros::begin %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
31
\title{Free-cut elimination in linear logic and an application to a feasible arithmetic}
32
%\titlerunning{A Sample LIPIcs Article} %optional, in case that the title is too long; the running title should fit into the top page column
33

  
34
%% Please provide for each author the \author and \affil macro, even when authors have the same affiliation, i.e. for each author there needs to be the  \author and \affil macros
35
\author{Patrick Baillot}
36
\author{Anupam Das}
37
\affil{LIP, Universit\'e de Lyon, CNRS, ENS Lyon, INRIA, Universit\'e Claude-Bernard Lyon 1, Milyon
38
%	\\
39
%	\texttt{open@dummyuniversity.org}
40
	}
41
%\affil[1]{Dummy University Computing Laboratory, Address/City, Country\\
42
%  \texttt{open@dummyuniversity.org}}
43
%\affil[2]{Department of Informatics, Dummy College, Address/City, Country\\
44
%  \texttt{access@dummycollege.org}}
45
\authorrunning{P.\ Baillot and A.\ Das} %mandatory. First: Use abbreviated first/middle names. Second (only in severe cases): Use first author plus 'et. al.'
46

  
47
\Copyright{Patrick Baillot and Anupam Das}%mandatory, please use full first names. LIPIcs license is "CC-BY";  http://creativecommons.org/licenses/by/3.0/
48

  
49
%\subjclass{Dummy classification -- please refer to \url{http://www.acm.org/about/class/ccs98-html}}% mandatory: Please choose ACM 1998 classifications from http://www.acm.org/about/class/ccs98-html . E.g., cite as "F.1.1 Models of Computation". 
50
%\keywords{Dummy keyword -- please provide 1--5 keywords}% mandatory: Please provide 1-5 keywords
51
%% Author macros::end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
52

  
53
%Editor-only macros:: begin (do not touch as author)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
54
\EventEditors{John Q. Open and Joan R. Acces}
55
\EventNoEds{2}
56
\EventLongTitle{42nd Conference on Very Important Topics (CVIT 2016)}
57
\EventShortTitle{CVIT 2016}
58
\EventAcronym{CVIT}
59
\EventYear{2016}
60
\EventDate{December 24--27, 2016}
61
\EventLocation{Little Whinging, United Kingdom}
62
\EventLogo{}
63
\SeriesVolume{42}
64
\ArticleNo{23}
65
% Editor-only macros::end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66

  
67
\maketitle
68

  
69
\begin{abstract}
70
We prove a general form of `free-cut elimination' for first-order theories in linear logic, yielding normal forms of proofs where cuts are anchored to nonlogical steps. To demonstrate the usefulness of this result, we consider a version of arithmetic in linear logic, based on a previous axiomatisation by Bellantoni and Hofmann. We prove a witnessing theorem for a fragment of this arithmetic via the `witness function method', showing that the provably convergent functions are precisely the polynomial-time functions. The programs extracted are implemented in the framework of `safe' recursive functions, due to Bellantoni and Cook, where the ! modality of linear logic corresponds to normal inputs of a safe recursive program. 
71
%We conclude with some comments for further applications of the free-cut elimination result. 
72
 \end{abstract}
73

  
74

  
75

  
76
\input{introduction}
77

  
78
\input{preliminaries}
79

  
80
\input{free-cut-elim}
81

  
82
\input{arithmetic}
83

  
84
\input{bc}
85

  
86
\input{bc-convergence}
87

  
88
\input{wfm}
89

  
90
\input{further-work}
91

  
92
\input{conclusions}
93

  
94
\bibliographystyle{plain}
95
\bibliography{biblio}
96
%
97
%\newpage
98
%
99
%\input{appendix}
100

  
101
\end{document}
CSL16/submitted/virginialake.sty (revision 112)
1
% VirginiaLake LaTeX macros by Alessio Guglielmi
2
%
3
% Many thanks to Ross Moore (Macquarie University) for suggestions leading 
4
% to \vlupdate
5

  
6
\NeedsTeXFormat{LaTeX2e}%
7
\ProvidesPackage{virginialake}[2015/08/30 v3.0]
8
\newif\ifvirginialakeusesxy
9
        \virginialakeusesxytrue
10
\DeclareOption{noxy}{\virginialakeusesxyfalse}%
11
\newif\ifvirginialakegoodsyntax
12
        \virginialakegoodsyntaxfalse
13
\DeclareOption{goodsyntax}{\virginialakegoodsyntaxtrue}%
14
\newif\ifvirginialakelutzsyntax
15
        \virginialakelutzsyntaxfalse
16
\DeclareOption{lutzsyntax}{\virginialakelutzsyntaxtrue}%
17
\ProcessOptions
18
\@ifclassloaded{beamer}%
19
               {\RequirePackage{etex}}%
20
               {}%
21
\let\circledS\undefined\RequirePackage{amssymb}%
22
\RequirePackage{stmaryrd}%
23
\RequirePackage{ifthen}%
24
\RequirePackage{ifpdf}%
25
\RequirePackage{etoolbox}%
26
\newif\ifvirginialakepdflatex\ifpdf\virginialakepdflatextrue\else
27
                                   \virginialakepdflatexfalse\fi
28
\@ifpackageloaded{fp-basic}%
29
                 {\relax}%
30
                 {\RequirePackage{fp-basic}\FPmessagesfalse}%
31
\@ifpackageloaded{xcolor}%
32
                 {\relax}%
33
                 {\RequirePackage[usenames]{xcolor}}%
34
\ifvirginialakeusesxy
35
    \ifvirginialakepdflatex
36
       \RequirePackage[line,arrow,curve,frame,color,crayon,pdf]{xy}%
37
       \newxycolor{afbackground}{0 0 0 0.12 cmyk}%
38
       \makeatletter\renewcommand\xywarning@[1]{\relax}\catcode`@=11
39
       \W@{}%
40
       \W@{VirginiaLake Warning: Xy-pic warnings are suppressed in PDF mode.}%
41
       \W@{}%
42
    \else
43
       \RequirePackage[line,arrow,curve,frame,color,crayon,ps,dvips]{xy}%
44
       \newxycolor@{afbackground}{0 0 0 0.12}{cmyk}{}{}%
45
   \fi
46
\fi
47
\newif\ifetex
48
\AtBeginDocument{\@ifpackageloaded{etex}{\etextrue}{\etexfalse}}%
49

  
50
%----------------------------------------------------------------------- IFMTARG
51
% Code from ifmtarg.sty, reproduced below with permission - A.G.
52
%
53
% ifmtarg.sty
54
%
55
% Provides an if-then-else command for an empty macro argument
56
% (empty = zero or more spaces only)
57
% Use as \@ifmtarg{arg1}{Code for arg1 empty}{Code for arg1 not empty}%
58
%
59
% author: Peter Wilson (CUA)
60
%         (now at peter.r.wilson@boeing.com)
61
% Copyright Peter Wilson, 1996
62
% Copyright Peter Wilson and Donald Arseneau, 2000
63
% Released under the LaTeX Project Public License
64
%
65
%% Commands by Donald Arseneau
66
\begingroup
67
\catcode`\Q=3
68
\long\gdef\@ifmtarg#1{\@xifmtarg#1QQ\@secondoftwo\@firstoftwo\@nil}%
69
\long\gdef\@xifmtarg#1#2Q#3#4#5\@nil{#4}%
70
\long\gdef\@ifnotmtarg#1{\@xifmtarg#1QQ\@firstofone\@gobble\@nil}%
71
\endgroup
72
%---------------------------------------------------------------- END OF IFMTARG
73

  
74
%------------------------------------------------------------ MACROS FOR SYMBOLS
75

  
76
  \newcommand\one{{\mathsf 1}}%
77
  \newcommand\zer{{\mathsf 0}}%
78
  \newcommand\fff{{\mathsf f}}%
79
  \newcommand\ttt{{\mathsf t}}%
80
  \newcommand\sw {{\mathsf s}}%
81
  \newcommand\me {{\mathsf m}}%
82
  \newcommand\iD {{\mathsf i}{\downarrow}}%
83
  \newcommand\iU {{\mathsf i}{  \uparrow}}%
84
  \newcommand\cD {{\mathsf c}{\downarrow}}%
85
  \newcommand\cU {{\mathsf c}{  \uparrow}}%
86
  \newcommand\wD {{\mathsf w}{\downarrow}}%
87
  \newcommand\wU {{\mathsf w}{  \uparrow}}%
88
  \newcommand\qD {{\mathsf q}{\downarrow}}%
89
  \newcommand\qU {{\mathsf q}{  \uparrow}}%
90
  \newcommand\BV {{\mathsf {BV}}}%
91
  \newcommand\SBV{{\mathsf{SBV}}}%
92
  \newcommand\KS {{\mathsf {KS}}}%
93
  \newcommand\SKS{{\mathsf{SKS}}}%
94

  
95
%---------------------------------------------------------------- END OF SYMBOLS
96

  
97
%------------------------------------------------ MACROS FOR FORMULAE/STRUCTURES
98

  
99
\newif\ifvlsmallops\vlsmallopsfalse
100

  
101
\newcommand\vlbin[1]{\ifvlsmallops\mathchoice
102
      {\mathbin{\raise.2ex \hbox{$\scriptstyle      #1$}}}%
103
      {\mathbin{\raise.2ex \hbox{$\scriptstyle      #1$}}}%
104
      {\mathbin{\raise.12ex\hbox{$\scriptscriptstyle#1$}}}%
105
      {\mathbin{           \hbox{$\scriptscriptstyle#1$}}}\else\mathbin{#1}\fi}%
106

  
107
\newif\ifvllinear\vllinearfalse
108

  
109
\newcommand{\vlor}{\ifvllinear\vlbin\varoplus\else\vlbin\vee\fi}%
110

  
111
\newcommand{\vlan}{\ifvllinear\vlbin\binampersand\else\vlbin\wedge\fi}%
112

  
113
\newcommand{\vlpa}{\vlbin\bindnasrepma}%
114

  
115
\newcommand{\vlte}{\vlbin\varotimes}%
116

  
117
\newcommand{\vlse}{\vlbin\triangleleft}%
118

  
119
\newcommand{\vlim}{\vlbin\to}%
120

  
121
\newcommand{\vlli}{\vlbin\multimap}%
122

  
123
\newcommand{\vlmi}{\vlbin\leftarrow}%
124

  
125
\newcommand{\vldi}{\vlbin\leftrightarrow}%
126

  
127
\newcommand{\vlne}{\vlbin\neg}%
128

  
129
\newcommand{\vljm}{\vlbin\supset}%
130

  
131
\newcommand{\vlmj}{\vlbin\subset}%
... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.

Formats disponibles : Unified diff