root / CSL16 / feas-arith-wfm.tex @ 3
Historique | Voir | Annoter | Télécharger (23,55 ko)
| 1 | 2 | adas | \documentclass[a4paper,UKenglish]{lipics-v2016}
|
|---|---|---|---|
| 2 | 2 | adas | %This is a template for producing LIPIcs articles. |
| 3 | 2 | adas | %See lipics-manual.pdf for further information. |
| 4 | 2 | adas | %for A4 paper format use option "a4paper", for US-letter use option "letterpaper" |
| 5 | 2 | adas | %for british hyphenation rules use option "UKenglish", for american hyphenation rules use option "USenglish" |
| 6 | 2 | adas | % for section-numbered lemmas etc., use "numberwithinsect" |
| 7 | 2 | adas | |
| 8 | 2 | adas | \usepackage{microtype}%if unwanted, comment out or use option "draft"
|
| 9 | 2 | adas | |
| 10 | 2 | adas | %\graphicspath{{./graphics/}}%helpful if your graphic files are in another directory
|
| 11 | 2 | adas | |
| 12 | 2 | adas | \bibliographystyle{plainurl}% the recommended bibstyle
|
| 13 | 2 | adas | |
| 14 | 2 | adas | % Author macros::begin %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 15 | 2 | adas | \title{Free-cut elimination in linear logic: an application to implicit complexity}
|
| 16 | 2 | adas | %\titlerunning{A Sample LIPIcs Article} %optional, in case that the title is too long; the running title should fit into the top page column
|
| 17 | 2 | adas | |
| 18 | 2 | adas | %% 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 |
| 19 | 2 | adas | \author[1]{Patrick Baillot}
|
| 20 | 2 | adas | \author[2]{Anupam Das}
|
| 21 | 2 | adas | \affil[1]{Dummy University Computing Laboratory, Address/City, Country\\
|
| 22 | 2 | adas | \texttt{open@dummyuniversity.org}}
|
| 23 | 2 | adas | \affil[2]{Department of Informatics, Dummy College, Address/City, Country\\
|
| 24 | 2 | adas | \texttt{access@dummycollege.org}}
|
| 25 | 2 | adas | \authorrunning{J.\,Q. Open and J.\,R. Access} %mandatory. First: Use abbreviated first/middle names. Second (only in severe cases): Use first author plus 'et. al.'
|
| 26 | 2 | adas | |
| 27 | 2 | adas | \Copyright{John Q. Open and Joan R. Access}%mandatory, please use full first names. LIPIcs license is "CC-BY"; http://creativecommons.org/licenses/by/3.0/
|
| 28 | 2 | adas | |
| 29 | 2 | adas | \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".
|
| 30 | 2 | adas | \keywords{Dummy keyword -- please provide 1--5 keywords}% mandatory: Please provide 1-5 keywords
|
| 31 | 2 | adas | % Author macros::end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 32 | 2 | adas | |
| 33 | 2 | adas | %Editor-only macros:: begin (do not touch as author)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 34 | 2 | adas | \EventEditors{John Q. Open and Joan R. Acces}
|
| 35 | 2 | adas | \EventNoEds{2}
|
| 36 | 2 | adas | \EventLongTitle{42nd Conference on Very Important Topics (CVIT 2016)}
|
| 37 | 2 | adas | \EventShortTitle{CVIT 2016}
|
| 38 | 2 | adas | \EventAcronym{CVIT}
|
| 39 | 2 | adas | \EventYear{2016}
|
| 40 | 2 | adas | \EventDate{December 24--27, 2016}
|
| 41 | 2 | adas | \EventLocation{Little Whinging, United Kingdom}
|
| 42 | 2 | adas | \EventLogo{}
|
| 43 | 2 | adas | \SeriesVolume{42}
|
| 44 | 2 | adas | \ArticleNo{23}
|
| 45 | 2 | adas | % Editor-only macros::end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 46 | 2 | adas | |
| 47 | 2 | adas | |
| 48 | 2 | adas | |
| 49 | 2 | adas | \usepackage[lutzsyntax]{virginialake}
|
| 50 | 2 | adas | \usepackage{amsmath}
|
| 51 | 2 | adas | \usepackage{amssymb}
|
| 52 | 2 | adas | \usepackage{amsthm}
|
| 53 | 2 | adas | \usepackage{times}
|
| 54 | 2 | adas | %\usepackage{sans}
|
| 55 | 2 | adas | \usepackage{cmll}
|
| 56 | 2 | adas | |
| 57 | 2 | adas | %\newtheorem{theorem}{Theorem}
|
| 58 | 2 | adas | %\newtheorem{maintheorem}[theorem]{Main Theorem}
|
| 59 | 2 | adas | %\newtheorem{observation}[theorem]{Observation}
|
| 60 | 2 | adas | %\newtheorem{corollary}[theorem]{Corollary}
|
| 61 | 2 | adas | %\newtheorem{lemma}[theorem]{Lemma}
|
| 62 | 2 | adas | \newtheorem{proposition}[theorem]{Proposition}
|
| 63 | 2 | adas | %\newtheorem{conjecture}[theorem]{Conjecture}
|
| 64 | 2 | adas | % |
| 65 | 2 | adas | %\theoremstyle{definition}
|
| 66 | 2 | adas | %\newtheorem{definition}[theorem]{Definition}
|
| 67 | 2 | adas | %\newtheorem{example}[theorem]{Example}
|
| 68 | 2 | adas | %\newtheorem{notation}[theorem]{Notation}
|
| 69 | 2 | adas | %\newtheorem{convention}[theorem]{Convention}
|
| 70 | 2 | adas | %\newtheorem{remark}[theorem]{Remark}
|
| 71 | 2 | adas | %\newtheorem{discussion}[theorem]{Discussion}
|
| 72 | 2 | adas | |
| 73 | 2 | adas | \newcommand{\todo}[1]{{\color{red}{\textbf{Todo:} #1}}}
|
| 74 | 2 | adas | \newcommand{\anupam}[1]{{\color{orange}{\textbf{Anupam:} #1}}}
|
| 75 | 2 | adas | \newcommand{\patrick}[1]{{\color{blue}{\textbf{Patrick:} #1}}}
|
| 76 | 2 | adas | |
| 77 | 2 | adas | \newcommand{\defined}{:=}
|
| 78 | 2 | adas | \begin{document}
|
| 79 | 2 | adas | |
| 80 | 2 | adas | \newcommand{\LL}{\it{LL}}
|
| 81 | 2 | adas | \vllineartrue |
| 82 | 2 | adas | |
| 83 | 2 | adas | |
| 84 | 2 | adas | \newcommand{\FV}{\mathit{FV}}
|
| 85 | 2 | adas | |
| 86 | 2 | adas | |
| 87 | 2 | adas | %terms |
| 88 | 2 | adas | \renewcommand{\succ}{s}
|
| 89 | 2 | adas | \renewcommand{\epsilon}{\varepsilon}
|
| 90 | 2 | adas | |
| 91 | 2 | adas | % linear connectives |
| 92 | 2 | adas | |
| 93 | 2 | adas | \newcommand{\limp}{\multimap}
|
| 94 | 2 | adas | \renewcommand{\land}{\otimes}
|
| 95 | 2 | adas | \newcommand{\laand}{\&}
|
| 96 | 2 | adas | \newcommand{\laor}{\oplus}
|
| 97 | 2 | adas | \renewcommand{\lor}{\vlpa}
|
| 98 | 2 | adas | \renewcommand{\lnot}[1]{{#1^{\perp}}}
|
| 99 | 2 | adas | \newcommand{\lnotnot}[1]{#1^{\perp \perp}}
|
| 100 | 2 | adas | |
| 101 | 2 | adas | % classical connectives |
| 102 | 2 | adas | |
| 103 | 2 | adas | \newcommand{\cimp}{\supset}
|
| 104 | 2 | adas | \newcommand{\cand}{\wedge}
|
| 105 | 2 | adas | \newcommand{\cor}{\vee}
|
| 106 | 2 | adas | \newcommand{\cnot}{\neg}
|
| 107 | 2 | adas | |
| 108 | 2 | adas | |
| 109 | 2 | adas | \newcommand{\Ax}{\mathit{(Ax)}}
|
| 110 | 2 | adas | \newcommand{\Rl}{\mathit{(Rl)}}
|
| 111 | 2 | adas | |
| 112 | 2 | adas | \newcommand{\MELL}{\mathit{MELL}}
|
| 113 | 2 | adas | \newcommand{\MEAL}{\mathit{MELLW}}
|
| 114 | 2 | adas | \newcommand{\MELLW}{\mathit{MELL(W)}}
|
| 115 | 2 | adas | |
| 116 | 2 | adas | \newcommand{\Aonetwo}{\mathcal{A}^1_2}
|
| 117 | 2 | adas | \newcommand{\logic}{\mathit{L}_{\mathcal A} }
|
| 118 | 2 | adas | |
| 119 | 2 | adas | % predicates |
| 120 | 2 | adas | \newcommand{\nat}{N}
|
| 121 | 2 | adas | |
| 122 | 2 | adas | \newcommand{\Nat}{\mathbb{N}}
|
| 123 | 2 | adas | |
| 124 | 2 | adas | %axioms |
| 125 | 2 | adas | \newcommand{\wk}{\mathit{wk}}
|
| 126 | 2 | adas | \newcommand{\impl}{\cimp\text{-}\mathit{l}}
|
| 127 | 2 | adas | \newcommand{\impcomm}{\mathit{com}}
|
| 128 | 2 | adas | \newcommand{\conint}{\cand\text{-}\mathit{i}}
|
| 129 | 2 | adas | \newcommand{\conel}{\cand\text{-}\mathit{e}}
|
| 130 | 2 | adas | \newcommand{\negclass}{\cnot}
|
| 131 | 2 | adas | |
| 132 | 2 | adas | %rules |
| 133 | 2 | adas | \renewcommand{\mp}{\mathit{mp}}
|
| 134 | 2 | adas | \newcommand{\gen}{\mathit{gen}}
|
| 135 | 2 | adas | \newcommand{\inst}{\mathit{ins}}
|
| 136 | 2 | adas | \newcommand{\id}{\it{id}}
|
| 137 | 2 | adas | \newcommand{\cut}{\it{cut}}
|
| 138 | 2 | adas | \newcommand{\multicut}{\it{mcut}}
|
| 139 | 2 | adas | \newcommand{\indr}{\mathit{IND}}
|
| 140 | 2 | adas | \newcommand{\nec}{\mathit{nec}}
|
| 141 | 2 | adas | \newcommand{\tax}{\mathit{T}}
|
| 142 | 2 | adas | \newcommand{\four}{\mathit{4}}
|
| 143 | 2 | adas | \newcommand{\kax}{\mathit{K}}
|
| 144 | 2 | adas | \newcommand{\cntr}{\mathit{cntr}}
|
| 145 | 2 | adas | |
| 146 | 2 | adas | \newcommand{\lefrul}[1]{#1\text{-}\mathit{l}}
|
| 147 | 2 | adas | \newcommand{\rigrul}[1]{#1\text{-}\mathit{r}}
|
| 148 | 2 | adas | |
| 149 | 2 | adas | %consequence relations |
| 150 | 2 | adas | \newcommand{\admits}{\vDash}
|
| 151 | 2 | adas | \newcommand{\seqar}{\vdash}
|
| 152 | 2 | adas | \newcommand{\proves}{\vdash}
|
| 153 | 2 | adas | |
| 154 | 2 | adas | %induction |
| 155 | 2 | adas | \newcommand{\ind}{\mathit{IND}}
|
| 156 | 2 | adas | \newcommand{\pind}{\mathit{PIND}}
|
| 157 | 2 | adas | \newcommand{\cax}[2]{#1\text{-}#2}
|
| 158 | 2 | adas | |
| 159 | 2 | adas | \maketitle |
| 160 | 2 | adas | |
| 161 | 2 | adas | \begin{abstract}
|
| 162 | 2 | adas | We prove a general form of free-cut elimination for first-order theories in linear logic. We consider a version of Peano Arithmetic in linear logic and prove a witnessing theorem via the Buss and Mints \emph{witness function method}, characterising polytime as the provably total functions.
|
| 163 | 2 | adas | \end{abstract}
|
| 164 | 2 | adas | |
| 165 | 2 | adas | \section{Introduction}
|
| 166 | 2 | adas | |
| 167 | 2 | adas | \section{Preliminaries}
|
| 168 | 2 | adas | |
| 169 | 2 | adas | \todo{consider removing and just have a section on linear logic, including free-cut elimination.}
|
| 170 | 2 | adas | |
| 171 | 2 | adas | \subsection{Linear logic}
|
| 172 | 2 | adas | |
| 173 | 2 | adas | \subsection{Deduction theorem}
|
| 174 | 2 | adas | |
| 175 | 2 | adas | [cite Avron:`semantics and proof theory of linear logic'] |
| 176 | 2 | adas | |
| 177 | 2 | adas | We will make much use of the deduction theorem, allowing us to argue informally within a theory for hypotheses that have been promoted. |
| 178 | 2 | adas | |
| 179 | 2 | adas | \begin{theorem}
|
| 180 | 2 | adas | [Deduction] |
| 181 | 2 | adas | If $\mathcal T , A \proves B$ then $\mathcal{T} \proves !A \limp B$.
|
| 182 | 2 | adas | \end{theorem}
|
| 183 | 2 | adas | |
| 184 | 2 | adas | \todo{need that $A$ above is closed! Check for rules to axioms.}
|
| 185 | 2 | adas | |
| 186 | 2 | adas | |
| 187 | 2 | adas | |
| 188 | 2 | adas | \subsection{Converting axioms to rules in $\MELLW$}
|
| 189 | 2 | adas | |
| 190 | 2 | adas | \begin{proposition}
|
| 191 | 2 | adas | An axiom $\Ax$ of the form, |
| 192 | 2 | adas | \[ |
| 193 | 2 | adas | A_1 \limp \vldots \limp A_m \limp !B_1 \limp \vldots \limp !B_n \limp C |
| 194 | 2 | adas | \] |
| 195 | 2 | adas | is equivalent (over propositional $\LL$) to the rule $\Rl$: |
| 196 | 2 | adas | \[ |
| 197 | 2 | adas | \vliiinf{\Rl}{}{ !\Gamma , A_1 , \dots , A_m \seqar C , ? \Delta }{ !\Gamma \seqar B_1 , ?\Delta }{\vldots }{ !\Gamma \seqar B_n , ?\Delta}
|
| 198 | 2 | adas | \] |
| 199 | 2 | adas | \end{proposition}
|
| 200 | 2 | adas | \begin{proof}
|
| 201 | 2 | adas | Let us first assume $\Ax$ and derive $\Rl$. From the axiom and Currying, we have a proof of: |
| 202 | 2 | adas | \begin{equation}\label{eqn:curried-axiom}
|
| 203 | 2 | adas | A_1 , \dots , A_m , !B_1 , \dots , !B_n \seqar C |
| 204 | 2 | adas | \end{equation}
|
| 205 | 2 | adas | |
| 206 | 2 | adas | This can simply be cut against each of the premisses of $\Rl$, applying appropriate contractions and necessitations, to derive it: |
| 207 | 2 | adas | \[ |
| 208 | 2 | adas | \vlderivation{
|
| 209 | 2 | adas | \vliq{c}{}{!\Gamma , A_1 , \dots , A_m \seqar C , ?\Delta }{
|
| 210 | 2 | adas | \vliin{\cut}{}{!\Gamma, \dots , !\Gamma , A_1 , \dots , A_m \seqar C , ?\Delta, \dots , ?\Delta }{
|
| 211 | 2 | adas | \vlin{!}{}{!\Gamma \seqar !B_n, ?\Delta }{\vlhy{!\Gamma \seqar B_n , ?\Delta }}
|
| 212 | 2 | adas | }{
|
| 213 | 2 | adas | \vliin{\cut}{}{\qquad \qquad \qquad \qquad \vlvdots \qquad \qquad \qquad \qquad }{
|
| 214 | 2 | adas | \vlin{!}{}{!\Gamma \seqar !B_1 , ?\Delta}{\vlhy{!\Gamma \seqar B_1, ?\Delta }}
|
| 215 | 2 | adas | }{\vlhy{ A_1 , \dots , A_m , !B_1 , \dots , !B_n \seqar C } }
|
| 216 | 2 | adas | } |
| 217 | 2 | adas | } |
| 218 | 2 | adas | } |
| 219 | 2 | adas | \] |
| 220 | 2 | adas | |
| 221 | 2 | adas | Now let us prove $\Ax$ (again in the form of \eqref{eqn:curried-axiom}) by using $\Rl$ as follows:
|
| 222 | 2 | adas | \[ |
| 223 | 2 | adas | \vliiinf{\Rl}{}{ A_1 , \dots , A_m , !B_1 , \dots , !B_n \seqar C }{ \vlderivation{
|
| 224 | 2 | adas | \vlin{w}{}{ !B_1 , \dots , !B_n \seqar B_1 }{
|
| 225 | 2 | adas | \vlin{!}{}{!B_1 \seqar B_1 }{
|
| 226 | 2 | adas | \vlin{\id}{}{B_1 \seqar B_1 }{\vlhy{}}
|
| 227 | 2 | adas | } |
| 228 | 2 | adas | } |
| 229 | 2 | adas | } }{\vldots}{
|
| 230 | 2 | adas | \vlderivation{
|
| 231 | 2 | adas | \vlin{w}{}{ !B_1 , \dots , !B_n \seqar B_n }{
|
| 232 | 2 | adas | \vlin{!}{}{!B_n \seqar B_n }{
|
| 233 | 2 | adas | \vlin{\id}{}{B_n \seqar B_n }{\vlhy{}}
|
| 234 | 2 | adas | } |
| 235 | 2 | adas | } |
| 236 | 2 | adas | } |
| 237 | 2 | adas | } |
| 238 | 2 | adas | \] |
| 239 | 2 | adas | \end{proof}
|
| 240 | 2 | adas | |
| 241 | 2 | adas | |
| 242 | 2 | adas | \textbf{NB:} The proof does not strictly require side formulae $? \Delta$ on the right of the sequent arrow $\seqar$, it would work without them, e.g.\ for the intuitionistic case. In a one-sided setting there is no difference.
|
| 243 | 2 | adas | |
| 244 | 2 | adas | |
| 245 | 2 | adas | |
| 246 | 2 | adas | \begin{corollary}
|
| 247 | 2 | adas | The induction axiom of $A^1_2$ is equivalent to the rule: |
| 248 | 2 | adas | \[ |
| 249 | 2 | adas | \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}
|
| 250 | 2 | adas | \] |
| 251 | 2 | adas | \end{corollary}
|
| 252 | 2 | adas | \begin{proof}
|
| 253 | 2 | adas | By proposition above, generalisation and Currying. |
| 254 | 2 | adas | \end{proof}
|
| 255 | 2 | adas | |
| 256 | 2 | adas | |
| 257 | 2 | adas | \subsection{Prenexing}
|
| 258 | 2 | adas | %In the presence of weakening we have a prenex normal form due to the following: |
| 259 | 2 | adas | % |
| 260 | 2 | adas | %\[ |
| 261 | 2 | adas | %\vlderivation{
|
| 262 | 2 | adas | % \vlin{}{}{\exists x . A \lor B \seqar \exists x . (A(x) \lor B) }{
|
| 263 | 2 | adas | % |
| 264 | 2 | adas | % } |
| 265 | 2 | adas | % } |
| 266 | 2 | adas | %\] |
| 267 | 2 | adas | |
| 268 | 2 | adas | Cannot derive prenexing operations, e.g.\ a problem with $\exists x . A \lor B \seqar \exists x . (A(x) \lor B)$. Can safely add prenexing rules? Or not a problem due to Witness predicate? |
| 269 | 2 | adas | |
| 270 | 2 | adas | \section{Free-cut elimination in linear logic}
|
| 271 | 2 | adas | |
| 272 | 2 | adas | \section{Some variants of arithmetic in linear logic}
|
| 273 | 2 | adas | |
| 274 | 2 | adas | For pretty much all variants discussed we will actually work in the \emph{affine} variant of linear logic, which validates weakening: $(A \land B )\limp A$. There are many reasons for this; essentially it has not much effect on complexity while also creating a more robust proof theory. For example it induces the following equivalence:
|
| 275 | 2 | adas | \[ |
| 276 | 2 | adas | !(A\land B) \equiv (!A \land !B) |
| 277 | 2 | adas | \] |
| 278 | 2 | adas | (The right-left direction is already valid in usual linear logic, but the left-right direction requires weakening). |
| 279 | 2 | adas | |
| 280 | 2 | adas | We define a variant of arithmetic inspired by Bellantoni and Hofmann's $A^1_2$. We describe later some connections to bounded arithmetic. |
| 281 | 2 | adas | |
| 282 | 2 | adas | |
| 283 | 2 | adas | \subsection{Based on Bellantoni-Hoffmann, Leivant, etc.}
|
| 284 | 2 | adas | |
| 285 | 2 | adas | \newcommand{\natcntr}{\nat\mathit{cntr}}
|
| 286 | 2 | adas | \newcommand{\geneps}{\nat_{\epsilon}}
|
| 287 | 2 | adas | \newcommand{\genzer}{\nat_{0}}
|
| 288 | 2 | adas | \newcommand{\genone}{\nat_{1}}
|
| 289 | 2 | adas | |
| 290 | 2 | adas | |
| 291 | 2 | adas | \newcommand{\sepeps}{\epsilon}
|
| 292 | 2 | adas | \newcommand{\sepzer}{\succ_{0}}
|
| 293 | 2 | adas | \newcommand{\sepone}{\succ_{1}}
|
| 294 | 2 | adas | |
| 295 | 2 | adas | \newcommand{\inj}{\mathit{inj}}
|
| 296 | 2 | adas | \newcommand{\surj}{\mathit{surj}}
|
| 297 | 2 | adas | |
| 298 | 2 | adas | \begin{definition}
|
| 299 | 2 | adas | [Arithmetic] |
| 300 | 2 | adas | We have the following axioms: |
| 301 | 2 | adas | \[ |
| 302 | 2 | adas | \begin{array}{rl}
|
| 303 | 2 | adas | \natcntr & \forall x^N . (N(x) \land N(x)) \\ |
| 304 | 2 | adas | \geneps & \nat(\epsilon) \\ |
| 305 | 2 | adas | \genzer & \forall x^N . N(\succ_0 x) \\ |
| 306 | 2 | adas | \genone & \forall x^N . N(\succ_1 x) \\ |
| 307 | 2 | adas | \sepeps & \forall x^N . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\ |
| 308 | 2 | adas | \sepzer & \forall x^N , y^N. ( \succ_0 x = \succ_0 y \limp x=y ) \\ |
| 309 | 2 | adas | \sepone & \forall x^N , y^N. ( \succ_1 x = \succ_1 y \limp x=y ) \\ |
| 310 | 2 | adas | \inj & \forall x^N . \succ_0 x \neq \succ_1 x \\ |
| 311 | 2 | adas | \surj & \forall x^N . (x = \epsilon \lor \exists y^N . x = \succ_0 y \lor \exists y^N . x = \succ_1 y ) \\ |
| 312 | 2 | adas | \noalign{\bigskip}
|
| 313 | 2 | adas | \ind & todo |
| 314 | 2 | adas | \end{array}
|
| 315 | 2 | adas | \] |
| 316 | 2 | adas | |
| 317 | 2 | adas | Induction rule should be the following, to take account of relativised quantifiers? |
| 318 | 2 | adas | \[ |
| 319 | 2 | adas | \vliinf{\ind}{}{ !N(t) , !\Gamma , A(\epsilon) \seqar A(t), ?\Delta }{ !N(a) , !\Gamma, A(a) \seqar A(\succ_0 a) , ?\Delta }{ !N(a) , !\Gamma, A(a) \seqar A(\succ_0 a) , ?\Delta }
|
| 320 | 2 | adas | \] |
| 321 | 2 | adas | |
| 322 | 2 | adas | \todo{in existential above, is there a prenexing problem?}
|
| 323 | 2 | adas | |
| 324 | 2 | adas | \todo{what about $\leq$? Introducing this could solve prenexing problem, e.g.\ by induction?}
|
| 325 | 2 | adas | \end{definition}
|
| 326 | 2 | adas | |
| 327 | 2 | adas | \subsection{$\nat$-hierarchy}
|
| 328 | 2 | adas | |
| 329 | 2 | adas | \begin{definition}
|
| 330 | 2 | adas | |
| 331 | 2 | adas | \todo{replace N with nat.}
|
| 332 | 2 | adas | |
| 333 | 2 | adas | Let us define the quantifiers $\exists x^N . A$ and $\forall x^N . A$ as $\exists x . (N(x) \land A)$ and $\forall x . (N(x) \limp A) $ respectively. |
| 334 | 2 | adas | |
| 335 | 2 | adas | We define $\Sigma^N_0 = \Pi^N_0 $ as the class of formulae that are free of quantifiers. For $i\geq 0$ we define: |
| 336 | 2 | adas | \begin{itemize}
|
| 337 | 2 | adas | \item $\Sigma^N_{i+1}$ is the class of formulae $\exists x^N . A$ where $A \in \Pi^N_i$.
|
| 338 | 2 | adas | \item $\Pi^N_{i+1}$ is the class of formulae $\forall x^N . A$ where $A \in \Sigma^N_i$.
|
| 339 | 2 | adas | \item ($\Delta^N_i$ is the class $\Sigma^N_i \cap \Pi^N_i$.) |
| 340 | 2 | adas | \end{itemize}
|
| 341 | 2 | adas | \end{definition}
|
| 342 | 2 | adas | |
| 343 | 2 | adas | \todo{allow closure under positive Boolean operations?}
|
| 344 | 2 | adas | |
| 345 | 2 | adas | \todo{What about prenexing rules? Should not change provably total functions!}
|
| 346 | 2 | adas | |
| 347 | 2 | adas | \subsection{Equivalent rule systems}
|
| 348 | 2 | adas | |
| 349 | 2 | adas | For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination: |
| 350 | 2 | adas | |
| 351 | 2 | adas | \[ |
| 352 | 2 | adas | \begin{array}{cc}
|
| 353 | 2 | adas | \vlinf{}{}{\Gamma \seqar \Delta, \forall x^N . A(x)}{\Gamma, N(a) \seqar \Delta , A(a)}
|
| 354 | 2 | adas | \quad & \quad |
| 355 | 2 | adas | \vlinf{}{}{\Gamma, N(t),\forall x^N A(x) \seqar \Delta}{\Gamma, A(t) \seqar \Delta}
|
| 356 | 2 | adas | \\ |
| 357 | 2 | adas | \noalign{\bigskip}
|
| 358 | 2 | adas | \vlinf{}{}{\Gamma , \exists x^N A(x) \seqar \Delta}{\Gamma, N(a), A(a) \seqar \Delta}
|
| 359 | 2 | adas | \quad &\quad |
| 360 | 2 | adas | \vlinf{}{}{\Gamma, N(t) \seqar \Delta , \exists x^N . A(x)}{\Gamma \seqar \Delta, A(t)}
|
| 361 | 2 | adas | \end{array}
|
| 362 | 2 | adas | \] |
| 363 | 2 | adas | |
| 364 | 2 | adas | CHECK THESE! |
| 365 | 2 | adas | |
| 366 | 2 | adas | \todo{Also include rules for contraction and weakening.}
|
| 367 | 2 | adas | |
| 368 | 2 | adas | \section{Convergence of Bellantoni-Cook programs}
|
| 369 | 2 | adas | |
| 370 | 2 | adas | \subsection{Bellantoni-Cook programs}
|
| 371 | 2 | adas | We first recall the notion of safe recursion on notation from BC. TODO |
| 372 | 2 | adas | |
| 373 | 2 | adas | \subsection{Convergence in arithmetic}
|
| 374 | 2 | adas | \begin{theorem}
|
| 375 | 2 | adas | [Convergence] |
| 376 | 2 | adas | 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))$.
|
| 377 | 2 | adas | \end{theorem}
|
| 378 | 2 | adas | \begin{proof}
|
| 379 | 2 | adas | We show by induction on the structure of a BC-program for $f(\vec x ; \vec y)$ that: |
| 380 | 2 | adas | \begin{equation}
|
| 381 | 2 | adas | \Phi(f) , \cax{\Sigma^N_1}{\pind} \proves \ \forall \vec{x}^{!N} . \forall \vec{y}^N . N(f(\vec x ; \vec y))
|
| 382 | 2 | adas | \end{equation}
|
| 383 | 2 | adas | We give some key cases in what follows. |
| 384 | 2 | adas | |
| 385 | 2 | adas | Suppose $f$ is defined by PRN by: |
| 386 | 2 | adas | \[ |
| 387 | 2 | adas | \begin{array}{rcl}
|
| 388 | 2 | adas | f(0,\vec x ; \vec y) & = & g(\vec x ; \vec y) \\ |
| 389 | 2 | adas | f(\succ_i x , \vec x ; \vec y) & = & h_i (x, \vec x ; \vec y , f(x , \vec x ; \vec y)) |
| 390 | 2 | adas | \end{array}
|
| 391 | 2 | adas | \] |
| 392 | 2 | adas | By the inductive hypothesis we already have that $g, h_0, h_1$ are provably convergent, so let us suppose that $N(\vec x)$ and prove, |
| 393 | 2 | adas | \begin{equation}
|
| 394 | 2 | adas | \forall x^{!N} . ( N(\vec y) \limp N(f(x , \vec x ; \vec y) )
|
| 395 | 2 | adas | \end{equation}
|
| 396 | 2 | adas | by $\cax{\Sigma^N_1}{\pind}$ on $x$.
|
| 397 | 2 | adas | |
| 398 | 2 | adas | In the base case we have the following proof: |
| 399 | 2 | adas | \[ |
| 400 | 2 | adas | \vlderivation{
|
| 401 | 2 | adas | \vliin{}{}{N(\vec y) \limp N(f(0, \vec x ; \vec y))}{
|
| 402 | 2 | adas | \vltr{IH}{N(\vec y) \limp N(g(\vec x ; \vec y))}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
| 403 | 2 | adas | }{
|
| 404 | 2 | adas | \vlin{}{}{N(g (\vec x ; \vec y) ) \limp N(f(0, \vec x ; \vec y)) }{
|
| 405 | 2 | adas | \vlin{}{}{g(\vec x ; \vec y) = f(0 , \vec x ; \vec y)}{\vlhy{}}
|
| 406 | 2 | adas | } |
| 407 | 2 | adas | } |
| 408 | 2 | adas | } |
| 409 | 2 | adas | \] |
| 410 | 2 | adas | |
| 411 | 2 | adas | For the inductive step, we need to show that, |
| 412 | 2 | adas | \[ |
| 413 | 2 | adas | \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) ) )
|
| 414 | 2 | adas | \] |
| 415 | 2 | adas | so let us suppose that $N(x)$ and we give the following proof: |
| 416 | 2 | adas | \[ |
| 417 | 2 | adas | \vlderivation{
|
| 418 | 2 | adas | \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) ) }{
|
| 419 | 2 | adas | \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) ) }{
|
| 420 | 2 | adas | \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) ) ) }{
|
| 421 | 2 | adas | \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 }}
|
| 422 | 2 | adas | }{
|
| 423 | 2 | adas | \vlhy{2}
|
| 424 | 2 | adas | } |
| 425 | 2 | adas | }{
|
| 426 | 2 | adas | \vlhy{3}
|
| 427 | 2 | adas | } |
| 428 | 2 | adas | } |
| 429 | 2 | adas | } |
| 430 | 2 | adas | \] |
| 431 | 2 | adas | TOFINISH |
| 432 | 2 | adas | \end{proof}
|
| 433 | 2 | adas | |
| 434 | 2 | adas | \section{Witness function method}
|
| 435 | 2 | adas | |
| 436 | 2 | adas | \todo{negation normal form}
|
| 437 | 2 | adas | |
| 438 | 2 | adas | \newcommand{\type}{\mathtt{t}}
|
| 439 | 2 | adas | \newcommand{\norm}{\nu}
|
| 440 | 2 | adas | \newcommand{\safe}{\sigma}
|
| 441 | 2 | adas | |
| 442 | 2 | adas | \subsection{Typing}
|
| 443 | 2 | adas | |
| 444 | 2 | adas | \begin{definition}
|
| 445 | 2 | adas | [Types] |
| 446 | 2 | adas | To each formula we associate a type as follows: |
| 447 | 2 | adas | \[ |
| 448 | 2 | adas | \begin{array}{rcll}
|
| 449 | 2 | adas | \type (\nat (t)) & := & \Nat_\safe & \\ |
| 450 | 2 | adas | \type(s = t) & := & \Nat_\safe & \\ |
| 451 | 2 | adas | \type (A \star B) & : = & \type (A) \times \type (B) & \text{for $\star \in \{ \lor, \land, \laor, \laand \} $.} \\
|
| 452 | 2 | adas | \type (! A) & : = & \type_\norm (A) & \text{for $\lambda \in \{ !, ? \}$.}\\
|
| 453 | 2 | adas | \type (\exists x^N . A) & := & \Nat_\norm \times \type (A) & \\ |
| 454 | 2 | adas | \type (\forall x^N . A) & := & \Nat_\norm \to \type(A) |
| 455 | 2 | adas | \end{array}
|
| 456 | 2 | adas | \] |
| 457 | 2 | adas | \end{definition}
|
| 458 | 2 | adas | |
| 459 | 2 | adas | \todo{does this need to be compatible with safety etc.?}
|
| 460 | 2 | adas | |
| 461 | 2 | adas | |
| 462 | 2 | adas | |
| 463 | 2 | adas | \newcommand{\witness}[2]{\mathit{Witness}^{#1}_{#2}}
|
| 464 | 2 | adas | \begin{definition}
|
| 465 | 2 | adas | [Witness predicate] |
| 466 | 2 | adas | We define the following formula: |
| 467 | 2 | adas | \[ |
| 468 | 2 | adas | \begin{array}{rcll}
|
| 469 | 2 | adas | \witness{\vec a}{A} (w, \vec a) & := & A(\vec a) & \text{for $A$ quantifier-free.} \\
|
| 470 | 2 | adas | \witness{\vec a}{\exists x . A} (w, \vec w , \vec a) & := & \witness{\vec{a}, a}{A(a)}(\vec w , \vec a, w ) & \\
|
| 471 | 2 | adas | \witness{\vec a}{A \star B} ( \vec w^1 , \vec w^2 ) & := & \witness{\vec a}{A} (\vec w^1) \star \witness{\vec a}{B} (\vec w^2) & \text{for $\star \in \{ \land, \lor, \laand , \laor\}$.} \\
|
| 472 | 2 | adas | \end{array}
|
| 473 | 2 | adas | \] |
| 474 | 2 | adas | \end{definition}
|
| 475 | 2 | adas | \todo{problem: what about complexity of checking equality? }
|
| 476 | 2 | adas | |
| 477 | 2 | adas | \todo{What about $\nat (t)$? What does it mean? Replace with true?}
|
| 478 | 2 | adas | |
| 479 | 2 | adas | \todo{either use the witness predicate above, or use realizability predicate at meta-level and a model theory, like BH.}
|
| 480 | 2 | adas | |
| 481 | 2 | adas | |
| 482 | 2 | adas | \subsection{The translation}
|
| 483 | 2 | adas | Need witness predicate so that we know what is being preserved. |
| 484 | 2 | adas | |
| 485 | 2 | adas | \begin{definition}
|
| 486 | 2 | adas | [Translation] |
| 487 | 2 | adas | We give a translation of proofs $\pi$ of sequents $\Gamma(\vec a) \seqar \Delta(\vec a)$ to BC-programs for a vector of functions $\vec f^\pi : \type(\bigotimes\Gamma) \times \Nat^{|\vec a|} \to \type(\bigparr\Delta)$ such that:
|
| 488 | 2 | adas | \[ |
| 489 | 2 | adas | \witness{\vec a}{\bigotimes \Gamma} (\vec w , \vec a) \implies \witness{\vec a}{\bigparr \Delta } (\vec f(\vec w , \vec a), \vec a)
|
| 490 | 2 | adas | \] |
| 491 | 2 | adas | We will be explicit about normal and safe inputs when necessary, for the most part we will simply rearrange inputs into lists $(\vec x; \vec a)$ as in BC framework. |
| 492 | 2 | adas | |
| 493 | 2 | adas | We often suppress the parameters $\vec a$ when it is not important. |
| 494 | 2 | adas | |
| 495 | 2 | adas | \anupam{Is this implication provable in Bellantoni's version of PV based on BC?}
|
| 496 | 2 | adas | |
| 497 | 2 | adas | \anupam{for moment try ignore decoration on right? what about negation?}
|
| 498 | 2 | adas | |
| 499 | 3 | adas | |
| 500 | 2 | adas | |
| 501 | 2 | adas | \[ |
| 502 | 2 | adas | \vlderivation{
|
| 503 | 2 | adas | \vliin{\land}{}{ \Gamma, \Sigma \seqar \Delta, \Pi, A\land B }{
|
| 504 | 2 | adas | \vltr{\pi_1}{ \Gamma \seqar \Delta, A }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 505 | 2 | adas | }{
|
| 506 | 2 | adas | \vltr{\pi_2}{ \Sigma \seqar \Pi, B }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 507 | 2 | adas | } |
| 508 | 2 | adas | } |
| 509 | 2 | adas | \] |
| 510 | 2 | adas | |
| 511 | 2 | adas | So we have $\vec f^{1} (\vec x ; \vec a)$ and $\vec f^2 (\vec y ; \vec b)$ for $\pi_1 $ and $\pi_2$ respectively, by the inductive hypothesis. We simply construct $\vec f^\pi$ by rearranging these functions:
|
| 512 | 2 | adas | \[ |
| 513 | 2 | adas | \vec f^\pi (\vec x , \vec y ; \vec a , \vec b) \quad := \quad ( f^1_1 (\vec x ; \vec a) , \dots , f^1_{|\Delta|} (\vec x ; \vec a) , f^2_1 (\vec y; \vec b) , \dots , f^2_{|\Pi|} (\vec y ; \vec b) , f^1_{|\Delta|+1} (\vec x ; \vec a ) , f^2_{|\Pi|+1} (\vec y ; \vec b)
|
| 514 | 2 | adas | \] |
| 515 | 2 | adas | |
| 516 | 2 | adas | \anupam{bad notation since need to include free variables of sequent too. (also of theory.) Reconsider.}
|
| 517 | 2 | adas | |
| 518 | 2 | adas | \[ |
| 519 | 2 | adas | \vlderivation{
|
| 520 | 2 | adas | \vlin{\lefrul{\cntr}}{}{ !A , \Gamma \seqar \Delta }{
|
| 521 | 2 | adas | \vltr{\pi'}{ !A, !A , \Gamma \seqar \Delta}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 522 | 2 | adas | } |
| 523 | 2 | adas | } |
| 524 | 2 | adas | \] |
| 525 | 2 | adas | Have $\vec f' (x_1 , x_2 , \vec y ; \vec a)$ for $\pi'$. Define |
| 526 | 2 | adas | \[ |
| 527 | 2 | adas | \vec f (x_1 , \vec y ; \vec a) \quad := \quad \vec f'(x_1 , x_1 , \vec y ; \vec a) |
| 528 | 2 | adas | \] |
| 529 | 2 | adas | \[ |
| 530 | 2 | adas | \vlderivation{
|
| 531 | 2 | adas | \vlin{\rigrul{\cntr}}{}{\Gamma \seqar \Delta, ?A}{
|
| 532 | 2 | adas | \vltr{\pi'}{ \Gamma \seqar \Delta, ?A, ?A}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 533 | 2 | adas | } |
| 534 | 2 | adas | } |
| 535 | 2 | adas | \] |
| 536 | 2 | adas | (need test function against witness predicate?) |
| 537 | 2 | adas | |
| 538 | 2 | adas | \anupam{problem: how to test even equality of two terms? Maybe treat $?$ as $!$ on left?}
|
| 539 | 2 | adas | |
| 540 | 2 | adas | \anupam{Not a problem by free-cut elimination! Can assume there are no $?$ in the proof! Is this equivalent to treaing $?$ as $!$ on left?}
|
| 541 | 2 | adas | |
| 542 | 2 | adas | \anupam{Yes I think so. We can work in a left-sided calculus. only problem is for induction. But this can never be a problem for modalities since induction formulae are modality-free.}
|
| 543 | 2 | adas | |
| 544 | 2 | adas | \anupam{this is actually the main point.}
|
| 545 | 2 | adas | |
| 546 | 2 | adas | |
| 547 | 2 | adas | \[ |
| 548 | 2 | adas | \vlderivation{
|
| 549 | 2 | adas | \vliin{\rigrul{\laand}}{}{\Gamma \seqar \Delta, A \laand B}{
|
| 550 | 2 | adas | \vltr{\pi_1}{ \Gamma \seqar \Delta, A}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 551 | 2 | adas | }{
|
| 552 | 2 | adas | \vltr{\pi_2}{ \Gamma \seqar \Delta, B}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 553 | 2 | adas | } |
| 554 | 2 | adas | } |
| 555 | 2 | adas | \] |
| 556 | 2 | adas | |
| 557 | 2 | adas | Suppose we have $\vec f^i (\vec x , \vec a ; \vec y , \vec b)$ from $\pi_i$. |
| 558 | 2 | adas | |
| 559 | 2 | adas | \anupam{problem: does this require many tests, just like for contraction? Can we isolate a different complexity class? e.g.\ PH or Grzegorzyck?}
|
| 560 | 2 | adas | \anupam{skip this case and consider later.}
|
| 561 | 2 | adas | \[ |
| 562 | 2 | adas | \vlderivation{
|
| 563 | 2 | adas | \vliin{\cut}{}{\Gamma , \Sigma \seqar \Delta , \Pi}{
|
| 564 | 2 | adas | \vltr{\pi_1}{ \Gamma \seqar \Delta, A }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 565 | 2 | adas | }{
|
| 566 | 2 | adas | \vltr{\pi_2}{\Sigma , A \seqar \Pi}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 567 | 2 | adas | } |
| 568 | 2 | adas | } |
| 569 | 2 | adas | \] |
| 570 | 2 | adas | |
| 571 | 2 | adas | We can assume that $A$ in the conclusion of $\pi_2$ is free of modalities, since one of the $A$s must be directly descended from an induction formula, and so consists of only safe inputs. Therefore we have functions $\vec f^1 (\vec w; \vec x)$ and $\vec f^2 (\vec y ; \vec z , \vec u)$ for $\pi_1$ and $\pi_2 $ respectively (free variable parameters are suppressed), with $\vec u$ corresponding to the (safe) inputs for $A$. |
| 572 | 2 | adas | |
| 573 | 2 | adas | Let us write: |
| 574 | 2 | adas | \[ |
| 575 | 2 | adas | \begin{array}{rcl}
|
| 576 | 2 | adas | \vec f^1 & = & ( \vec f^1_i )^{|\Delta|+1}_{i=1} \\
|
| 577 | 2 | adas | \vec f^2 & = & ( \vec f^2_i )^{|\Pi|}_{i=1}
|
| 578 | 2 | adas | \end{array}
|
| 579 | 2 | adas | \] |
| 580 | 2 | adas | to denote the parts of $\vec f^i$ corresponding to formulae in their sequents. |
| 581 | 2 | adas | |
| 582 | 2 | adas | |
| 583 | 2 | adas | We define: |
| 584 | 2 | adas | \[ |
| 585 | 2 | adas | \vec f (\vec w , \vec y ; \vec x , \vec z) |
| 586 | 2 | adas | \quad := \quad |
| 587 | 2 | adas | ( |
| 588 | 2 | adas | ( \vec f^1_i (\vec w ; \vec x) )_{i \leq |\Delta|}
|
| 589 | 2 | adas | , |
| 590 | 2 | adas | \vec f^2 ( \vec y ; \vec z , \vec f^1_{|\Delta| +1 } (\vec w ; \vec x) )
|
| 591 | 2 | adas | ) |
| 592 | 2 | adas | \] |
| 593 | 2 | adas | |
| 594 | 2 | adas | Notice that all safe inputs are hereditarily right of a $;$, and so these terms are definable by safe composition and projection. |
| 595 | 2 | adas | |
| 596 | 2 | adas | \todo{left todo below.}
|
| 597 | 2 | adas | |
| 598 | 2 | adas | |
| 599 | 2 | adas | Right existential: |
| 600 | 2 | adas | \[ |
| 601 | 2 | adas | \vlderivation{
|
| 602 | 2 | adas | \vlin{\rigrul{\exists}}{}{ \Gamma, \nat(t) \seqar \Delta , \exists x^\nat . A(x) }{
|
| 603 | 2 | adas | \vltr{\pi'}{ \Gamma \seqar \Delta , A(t) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 604 | 2 | adas | } |
| 605 | 2 | adas | } |
| 606 | 2 | adas | \] |
| 607 | 3 | adas | Suppose we have functions $\vec f' (\vec x ; \vec y)$ from $\pi'$. |
| 608 | 2 | adas | |
| 609 | 2 | adas | |
| 610 | 2 | adas | Left existential: |
| 611 | 2 | adas | \[ |
| 612 | 2 | adas | \vlderivation{
|
| 613 | 2 | adas | \vlin{\lefrul{\exists}}{}{ \Gamma, \exists x^N . A(x) \seqar \Delta }{
|
| 614 | 2 | adas | \vltr{\pi'}{ \Gamma, A(a) , N(a) \seqar \Delta }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 615 | 2 | adas | } |
| 616 | 2 | adas | } |
| 617 | 2 | adas | \] |
| 618 | 2 | adas | |
| 619 | 2 | adas | !: |
| 620 | 2 | adas | \[ |
| 621 | 2 | adas | \vlderivation{
|
| 622 | 2 | adas | \vlin{!}{}{\Gamma, !A \seqar \Delta}{
|
| 623 | 2 | adas | \vltr{\pi'}{ \Gamma , A \seqar \Delta }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 624 | 2 | adas | } |
| 625 | 2 | adas | } |
| 626 | 2 | adas | \] |
| 627 | 2 | adas | \anupam{Again, use free-cut elimination to get rid of this case. We know $!$-ed formulae in advance, so just fix those as normal inputs in advance.}
|
| 628 | 2 | adas | |
| 629 | 2 | adas | |
| 630 | 2 | adas | Induction: (can assume no side-formulae on right for same reason as no contraction.) |
| 631 | 2 | adas | \[ |
| 632 | 2 | adas | \vlderivation{
|
| 633 | 3 | adas | \vliin{\ind}{}{ !\Gamma , !\nat (t) , A(\epsilon) \seqar A(t) }{
|
| 634 | 2 | adas | \vltr{\pi_0}{ !\Gamma , !\nat(a) , A(a) \seqar A(\succ_0 a)}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 635 | 2 | adas | }{
|
| 636 | 2 | adas | \vltr{\pi_1}{ !\Gamma , !\nat(a), A(a)\seqar A(\succ_1 a) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 637 | 2 | adas | } |
| 638 | 2 | adas | } |
| 639 | 2 | adas | \] |
| 640 | 2 | adas | |
| 641 | 2 | adas | Suppose we have functions $\vec f^i (\vec x , y ; \vec u)$ from proofs $\pi_i$ where $\vec x $ corresponds to $!\Gamma$, $y$ corresponds to $!N(a)$ and $\vec u$ corresponds to $A(a)$. |
| 642 | 2 | adas | |
| 643 | 2 | adas | |
| 644 | 2 | adas | \anupam{role of $!N(a)$ versus having $a$ as a parameter to function. To consider!}
|
| 645 | 2 | adas | |
| 646 | 2 | adas | Define the function $f_k$ (for $k = 1 , \dots , |\vec u|$) by PRN: |
| 647 | 2 | adas | \[ |
| 648 | 2 | adas | \begin{array}{rcl}
|
| 649 | 2 | adas | f_k(\epsilon, \vec x , y ; \vec u) & := & u_k \\ |
| 650 | 2 | adas | f_k (\succ_i w , \vec x , y ; \vec u) & : = & f^i_k ( \vec x , y ; \vec f ( w, \vec x , y ; \vec u ) ) |
| 651 | 2 | adas | \end{array}
|
| 652 | 2 | adas | \] |
| 653 | 2 | adas | |
| 654 | 2 | adas | \anupam{check this, esp use of parameters, cf.\ above.}
|
| 655 | 2 | adas | |
| 656 | 2 | adas | \anupam{Is this not using a simultaneous version of PRN? Might need concatenation of words/basic coding to deal with this.}
|
| 657 | 2 | adas | |
| 658 | 3 | adas | |
| 659 | 2 | adas | \end{definition}
|
| 660 | 2 | adas | |
| 661 | 3 | adas | \newcommand{\concat}{\mathit{concat}}
|
| 662 | 3 | adas | \paragraph{Some points on concatenation \anupam{if necessary}}
|
| 663 | 3 | adas | We can define the concatenation operation by PRN: |
| 664 | 3 | adas | \[ |
| 665 | 3 | adas | \begin{array}{rcl}
|
| 666 | 3 | adas | \concat (\epsilon ; y) & : = & x \\ |
| 667 | 3 | adas | \concat (\succ_i x ; y) & := & \succ_i \concat (x ; y) |
| 668 | 3 | adas | \end{array}
|
| 669 | 3 | adas | \] |
| 670 | 2 | adas | |
| 671 | 3 | adas | From here we can define iterated concatenation: |
| 672 | 3 | adas | \[ |
| 673 | 3 | adas | \concat (x_1 , \dots x_n ; y) \quad := \quad \concat (x_n ; \concat (x_{n-1} ; \vldots \concat (x_1 ; y) \vldots ) )
|
| 674 | 3 | adas | \] |
| 675 | 3 | adas | |
| 676 | 3 | adas | (notice all safe inputs are hereditarily to the right of $;$ so this is definable by safe composition and projection.) |
| 677 | 3 | adas | |
| 678 | 2 | adas | \section{Further work}
|
| 679 | 2 | adas | |
| 680 | 2 | adas | Say something about minimisation and the polynomial hierarchy. Could be achieved by controlling contraction/additives, since this requires a notion of tests. |
| 681 | 2 | adas | |
| 682 | 2 | adas | \section{Conclusions}
|
| 683 | 2 | adas | |
| 684 | 2 | adas | |
| 685 | 2 | adas | \end{document} |