root / CSL16 / feas-arith-wfm.tex @ 6
Historique | Voir | Annoter | Télécharger (38,78 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 | 5 | adas | \todo{words or integers?}
|
| 168 | 5 | adas | |
| 169 | 2 | adas | \section{Preliminaries}
|
| 170 | 2 | adas | |
| 171 | 2 | adas | \todo{consider removing and just have a section on linear logic, including free-cut elimination.}
|
| 172 | 2 | adas | |
| 173 | 2 | adas | \subsection{Linear logic}
|
| 174 | 2 | adas | |
| 175 | 2 | adas | \subsection{Deduction theorem}
|
| 176 | 2 | adas | |
| 177 | 2 | adas | [cite Avron:`semantics and proof theory of linear logic'] |
| 178 | 2 | adas | |
| 179 | 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. |
| 180 | 2 | adas | |
| 181 | 2 | adas | \begin{theorem}
|
| 182 | 2 | adas | [Deduction] |
| 183 | 2 | adas | If $\mathcal T , A \proves B$ then $\mathcal{T} \proves !A \limp B$.
|
| 184 | 2 | adas | \end{theorem}
|
| 185 | 2 | adas | |
| 186 | 2 | adas | \todo{need that $A$ above is closed! Check for rules to axioms.}
|
| 187 | 2 | adas | |
| 188 | 2 | adas | |
| 189 | 2 | adas | |
| 190 | 2 | adas | \subsection{Converting axioms to rules in $\MELLW$}
|
| 191 | 2 | adas | |
| 192 | 2 | adas | \begin{proposition}
|
| 193 | 2 | adas | An axiom $\Ax$ of the form, |
| 194 | 2 | adas | \[ |
| 195 | 2 | adas | A_1 \limp \vldots \limp A_m \limp !B_1 \limp \vldots \limp !B_n \limp C |
| 196 | 2 | adas | \] |
| 197 | 2 | adas | is equivalent (over propositional $\LL$) to the rule $\Rl$: |
| 198 | 2 | adas | \[ |
| 199 | 2 | adas | \vliiinf{\Rl}{}{ !\Gamma , A_1 , \dots , A_m \seqar C , ? \Delta }{ !\Gamma \seqar B_1 , ?\Delta }{\vldots }{ !\Gamma \seqar B_n , ?\Delta}
|
| 200 | 2 | adas | \] |
| 201 | 2 | adas | \end{proposition}
|
| 202 | 2 | adas | \begin{proof}
|
| 203 | 2 | adas | Let us first assume $\Ax$ and derive $\Rl$. From the axiom and Currying, we have a proof of: |
| 204 | 2 | adas | \begin{equation}\label{eqn:curried-axiom}
|
| 205 | 2 | adas | A_1 , \dots , A_m , !B_1 , \dots , !B_n \seqar C |
| 206 | 2 | adas | \end{equation}
|
| 207 | 2 | adas | |
| 208 | 2 | adas | This can simply be cut against each of the premisses of $\Rl$, applying appropriate contractions and necessitations, to derive it: |
| 209 | 2 | adas | \[ |
| 210 | 2 | adas | \vlderivation{
|
| 211 | 2 | adas | \vliq{c}{}{!\Gamma , A_1 , \dots , A_m \seqar C , ?\Delta }{
|
| 212 | 2 | adas | \vliin{\cut}{}{!\Gamma, \dots , !\Gamma , A_1 , \dots , A_m \seqar C , ?\Delta, \dots , ?\Delta }{
|
| 213 | 2 | adas | \vlin{!}{}{!\Gamma \seqar !B_n, ?\Delta }{\vlhy{!\Gamma \seqar B_n , ?\Delta }}
|
| 214 | 2 | adas | }{
|
| 215 | 2 | adas | \vliin{\cut}{}{\qquad \qquad \qquad \qquad \vlvdots \qquad \qquad \qquad \qquad }{
|
| 216 | 2 | adas | \vlin{!}{}{!\Gamma \seqar !B_1 , ?\Delta}{\vlhy{!\Gamma \seqar B_1, ?\Delta }}
|
| 217 | 2 | adas | }{\vlhy{ A_1 , \dots , A_m , !B_1 , \dots , !B_n \seqar C } }
|
| 218 | 2 | adas | } |
| 219 | 2 | adas | } |
| 220 | 2 | adas | } |
| 221 | 2 | adas | \] |
| 222 | 2 | adas | |
| 223 | 2 | adas | Now let us prove $\Ax$ (again in the form of \eqref{eqn:curried-axiom}) by using $\Rl$ as follows:
|
| 224 | 2 | adas | \[ |
| 225 | 2 | adas | \vliiinf{\Rl}{}{ A_1 , \dots , A_m , !B_1 , \dots , !B_n \seqar C }{ \vlderivation{
|
| 226 | 2 | adas | \vlin{w}{}{ !B_1 , \dots , !B_n \seqar B_1 }{
|
| 227 | 2 | adas | \vlin{!}{}{!B_1 \seqar B_1 }{
|
| 228 | 2 | adas | \vlin{\id}{}{B_1 \seqar B_1 }{\vlhy{}}
|
| 229 | 2 | adas | } |
| 230 | 2 | adas | } |
| 231 | 2 | adas | } }{\vldots}{
|
| 232 | 2 | adas | \vlderivation{
|
| 233 | 2 | adas | \vlin{w}{}{ !B_1 , \dots , !B_n \seqar B_n }{
|
| 234 | 2 | adas | \vlin{!}{}{!B_n \seqar B_n }{
|
| 235 | 2 | adas | \vlin{\id}{}{B_n \seqar B_n }{\vlhy{}}
|
| 236 | 2 | adas | } |
| 237 | 2 | adas | } |
| 238 | 2 | adas | } |
| 239 | 2 | adas | } |
| 240 | 2 | adas | \] |
| 241 | 2 | adas | \end{proof}
|
| 242 | 2 | adas | |
| 243 | 2 | adas | |
| 244 | 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.
|
| 245 | 2 | adas | |
| 246 | 2 | adas | |
| 247 | 2 | adas | |
| 248 | 2 | adas | \begin{corollary}
|
| 249 | 2 | adas | The induction axiom of $A^1_2$ is equivalent to the rule: |
| 250 | 2 | adas | \[ |
| 251 | 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}
|
| 252 | 2 | adas | \] |
| 253 | 2 | adas | \end{corollary}
|
| 254 | 2 | adas | \begin{proof}
|
| 255 | 2 | adas | By proposition above, generalisation and Currying. |
| 256 | 2 | adas | \end{proof}
|
| 257 | 2 | adas | |
| 258 | 2 | adas | |
| 259 | 2 | adas | \subsection{Prenexing}
|
| 260 | 2 | adas | %In the presence of weakening we have a prenex normal form due to the following: |
| 261 | 2 | adas | % |
| 262 | 2 | adas | %\[ |
| 263 | 2 | adas | %\vlderivation{
|
| 264 | 2 | adas | % \vlin{}{}{\exists x . A \lor B \seqar \exists x . (A(x) \lor B) }{
|
| 265 | 2 | adas | % |
| 266 | 2 | adas | % } |
| 267 | 2 | adas | % } |
| 268 | 2 | adas | %\] |
| 269 | 2 | adas | |
| 270 | 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? |
| 271 | 2 | adas | |
| 272 | 2 | adas | \section{Free-cut elimination in linear logic}
|
| 273 | 2 | adas | |
| 274 | 4 | adas | |
| 275 | 4 | adas | \todo{formulate exact statement}
|
| 276 | 4 | adas | |
| 277 | 4 | adas | %\begin{theorem}
|
| 278 | 4 | adas | %[Free-cut elimination] |
| 279 | 4 | adas | %Consider a sequent system |
| 280 | 4 | adas | %\end{theorem}
|
| 281 | 4 | adas | |
| 282 | 4 | adas | \anupam{I think better to use nonlocal argument, for simplicity.}
|
| 283 | 4 | adas | |
| 284 | 2 | adas | \section{Some variants of arithmetic in linear logic}
|
| 285 | 2 | adas | |
| 286 | 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:
|
| 287 | 2 | adas | \[ |
| 288 | 2 | adas | !(A\land B) \equiv (!A \land !B) |
| 289 | 2 | adas | \] |
| 290 | 2 | adas | (The right-left direction is already valid in usual linear logic, but the left-right direction requires weakening). |
| 291 | 2 | adas | |
| 292 | 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. |
| 293 | 2 | adas | |
| 294 | 2 | adas | |
| 295 | 2 | adas | \subsection{Based on Bellantoni-Hoffmann, Leivant, etc.}
|
| 296 | 2 | adas | |
| 297 | 2 | adas | \newcommand{\natcntr}{\nat\mathit{cntr}}
|
| 298 | 2 | adas | \newcommand{\geneps}{\nat_{\epsilon}}
|
| 299 | 2 | adas | \newcommand{\genzer}{\nat_{0}}
|
| 300 | 2 | adas | \newcommand{\genone}{\nat_{1}}
|
| 301 | 2 | adas | |
| 302 | 2 | adas | |
| 303 | 2 | adas | \newcommand{\sepeps}{\epsilon}
|
| 304 | 2 | adas | \newcommand{\sepzer}{\succ_{0}}
|
| 305 | 2 | adas | \newcommand{\sepone}{\succ_{1}}
|
| 306 | 2 | adas | |
| 307 | 2 | adas | \newcommand{\inj}{\mathit{inj}}
|
| 308 | 2 | adas | \newcommand{\surj}{\mathit{surj}}
|
| 309 | 2 | adas | |
| 310 | 2 | adas | \begin{definition}
|
| 311 | 2 | adas | [Arithmetic] |
| 312 | 2 | adas | We have the following axioms: |
| 313 | 2 | adas | \[ |
| 314 | 2 | adas | \begin{array}{rl}
|
| 315 | 2 | adas | \natcntr & \forall x^N . (N(x) \land N(x)) \\ |
| 316 | 2 | adas | \geneps & \nat(\epsilon) \\ |
| 317 | 2 | adas | \genzer & \forall x^N . N(\succ_0 x) \\ |
| 318 | 2 | adas | \genone & \forall x^N . N(\succ_1 x) \\ |
| 319 | 2 | adas | \sepeps & \forall x^N . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\ |
| 320 | 2 | adas | \sepzer & \forall x^N , y^N. ( \succ_0 x = \succ_0 y \limp x=y ) \\ |
| 321 | 2 | adas | \sepone & \forall x^N , y^N. ( \succ_1 x = \succ_1 y \limp x=y ) \\ |
| 322 | 2 | adas | \inj & \forall x^N . \succ_0 x \neq \succ_1 x \\ |
| 323 | 2 | adas | \surj & \forall x^N . (x = \epsilon \lor \exists y^N . x = \succ_0 y \lor \exists y^N . x = \succ_1 y ) \\ |
| 324 | 2 | adas | \noalign{\bigskip}
|
| 325 | 2 | adas | \ind & todo |
| 326 | 2 | adas | \end{array}
|
| 327 | 2 | adas | \] |
| 328 | 2 | adas | |
| 329 | 2 | adas | Induction rule should be the following, to take account of relativised quantifiers? |
| 330 | 2 | adas | \[ |
| 331 | 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 }
|
| 332 | 2 | adas | \] |
| 333 | 2 | adas | |
| 334 | 2 | adas | \todo{in existential above, is there a prenexing problem?}
|
| 335 | 2 | adas | |
| 336 | 2 | adas | \todo{what about $\leq$? Introducing this could solve prenexing problem, e.g.\ by induction?}
|
| 337 | 2 | adas | \end{definition}
|
| 338 | 2 | adas | |
| 339 | 2 | adas | \subsection{$\nat$-hierarchy}
|
| 340 | 2 | adas | |
| 341 | 2 | adas | \begin{definition}
|
| 342 | 2 | adas | |
| 343 | 2 | adas | \todo{replace N with nat.}
|
| 344 | 2 | adas | |
| 345 | 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. |
| 346 | 2 | adas | |
| 347 | 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: |
| 348 | 2 | adas | \begin{itemize}
|
| 349 | 2 | adas | \item $\Sigma^N_{i+1}$ is the class of formulae $\exists x^N . A$ where $A \in \Pi^N_i$.
|
| 350 | 2 | adas | \item $\Pi^N_{i+1}$ is the class of formulae $\forall x^N . A$ where $A \in \Sigma^N_i$.
|
| 351 | 2 | adas | \item ($\Delta^N_i$ is the class $\Sigma^N_i \cap \Pi^N_i$.) |
| 352 | 2 | adas | \end{itemize}
|
| 353 | 2 | adas | \end{definition}
|
| 354 | 2 | adas | |
| 355 | 2 | adas | \todo{allow closure under positive Boolean operations?}
|
| 356 | 2 | adas | |
| 357 | 2 | adas | \todo{What about prenexing rules? Should not change provably total functions!}
|
| 358 | 2 | adas | |
| 359 | 2 | adas | \subsection{Equivalent rule systems}
|
| 360 | 2 | adas | |
| 361 | 2 | adas | For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination: |
| 362 | 2 | adas | |
| 363 | 2 | adas | \[ |
| 364 | 2 | adas | \begin{array}{cc}
|
| 365 | 2 | adas | \vlinf{}{}{\Gamma \seqar \Delta, \forall x^N . A(x)}{\Gamma, N(a) \seqar \Delta , A(a)}
|
| 366 | 2 | adas | \quad & \quad |
| 367 | 2 | adas | \vlinf{}{}{\Gamma, N(t),\forall x^N A(x) \seqar \Delta}{\Gamma, A(t) \seqar \Delta}
|
| 368 | 2 | adas | \\ |
| 369 | 2 | adas | \noalign{\bigskip}
|
| 370 | 2 | adas | \vlinf{}{}{\Gamma , \exists x^N A(x) \seqar \Delta}{\Gamma, N(a), A(a) \seqar \Delta}
|
| 371 | 2 | adas | \quad &\quad |
| 372 | 2 | adas | \vlinf{}{}{\Gamma, N(t) \seqar \Delta , \exists x^N . A(x)}{\Gamma \seqar \Delta, A(t)}
|
| 373 | 2 | adas | \end{array}
|
| 374 | 2 | adas | \] |
| 375 | 2 | adas | |
| 376 | 2 | adas | CHECK THESE! |
| 377 | 2 | adas | |
| 378 | 2 | adas | \todo{Also include rules for contraction and weakening.}
|
| 379 | 2 | adas | |
| 380 | 2 | adas | \section{Convergence of Bellantoni-Cook programs}
|
| 381 | 2 | adas | |
| 382 | 2 | adas | \subsection{Bellantoni-Cook programs}
|
| 383 | 2 | adas | We first recall the notion of safe recursion on notation from BC. TODO |
| 384 | 2 | adas | |
| 385 | 2 | adas | \subsection{Convergence in arithmetic}
|
| 386 | 2 | adas | \begin{theorem}
|
| 387 | 2 | adas | [Convergence] |
| 388 | 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))$.
|
| 389 | 2 | adas | \end{theorem}
|
| 390 | 2 | adas | \begin{proof}
|
| 391 | 2 | adas | We show by induction on the structure of a BC-program for $f(\vec x ; \vec y)$ that: |
| 392 | 2 | adas | \begin{equation}
|
| 393 | 2 | adas | \Phi(f) , \cax{\Sigma^N_1}{\pind} \proves \ \forall \vec{x}^{!N} . \forall \vec{y}^N . N(f(\vec x ; \vec y))
|
| 394 | 2 | adas | \end{equation}
|
| 395 | 2 | adas | We give some key cases in what follows. |
| 396 | 2 | adas | |
| 397 | 2 | adas | Suppose $f$ is defined by PRN by: |
| 398 | 2 | adas | \[ |
| 399 | 2 | adas | \begin{array}{rcl}
|
| 400 | 2 | adas | f(0,\vec x ; \vec y) & = & g(\vec x ; \vec y) \\ |
| 401 | 2 | adas | f(\succ_i x , \vec x ; \vec y) & = & h_i (x, \vec x ; \vec y , f(x , \vec x ; \vec y)) |
| 402 | 2 | adas | \end{array}
|
| 403 | 2 | adas | \] |
| 404 | 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, |
| 405 | 2 | adas | \begin{equation}
|
| 406 | 2 | adas | \forall x^{!N} . ( N(\vec y) \limp N(f(x , \vec x ; \vec y) )
|
| 407 | 2 | adas | \end{equation}
|
| 408 | 2 | adas | by $\cax{\Sigma^N_1}{\pind}$ on $x$.
|
| 409 | 2 | adas | |
| 410 | 2 | adas | In the base case we have the following proof: |
| 411 | 2 | adas | \[ |
| 412 | 2 | adas | \vlderivation{
|
| 413 | 2 | adas | \vliin{}{}{N(\vec y) \limp N(f(0, \vec x ; \vec y))}{
|
| 414 | 2 | adas | \vltr{IH}{N(\vec y) \limp N(g(\vec x ; \vec y))}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
| 415 | 2 | adas | }{
|
| 416 | 2 | adas | \vlin{}{}{N(g (\vec x ; \vec y) ) \limp N(f(0, \vec x ; \vec y)) }{
|
| 417 | 2 | adas | \vlin{}{}{g(\vec x ; \vec y) = f(0 , \vec x ; \vec y)}{\vlhy{}}
|
| 418 | 2 | adas | } |
| 419 | 2 | adas | } |
| 420 | 2 | adas | } |
| 421 | 2 | adas | \] |
| 422 | 2 | adas | |
| 423 | 2 | adas | For the inductive step, we need to show that, |
| 424 | 2 | adas | \[ |
| 425 | 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) ) )
|
| 426 | 2 | adas | \] |
| 427 | 2 | adas | so let us suppose that $N(x)$ and we give the following proof: |
| 428 | 2 | adas | \[ |
| 429 | 2 | adas | \vlderivation{
|
| 430 | 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) ) }{
|
| 431 | 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) ) }{
|
| 432 | 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) ) ) }{
|
| 433 | 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 }}
|
| 434 | 2 | adas | }{
|
| 435 | 2 | adas | \vlhy{2}
|
| 436 | 2 | adas | } |
| 437 | 2 | adas | }{
|
| 438 | 2 | adas | \vlhy{3}
|
| 439 | 2 | adas | } |
| 440 | 2 | adas | } |
| 441 | 2 | adas | } |
| 442 | 2 | adas | \] |
| 443 | 2 | adas | TOFINISH |
| 444 | 2 | adas | \end{proof}
|
| 445 | 2 | adas | |
| 446 | 2 | adas | \section{Witness function method}
|
| 447 | 2 | adas | |
| 448 | 2 | adas | \todo{negation normal form}
|
| 449 | 2 | adas | |
| 450 | 2 | adas | \newcommand{\type}{\mathtt{t}}
|
| 451 | 2 | adas | \newcommand{\norm}{\nu}
|
| 452 | 2 | adas | \newcommand{\safe}{\sigma}
|
| 453 | 2 | adas | |
| 454 | 2 | adas | \subsection{Typing}
|
| 455 | 2 | adas | |
| 456 | 2 | adas | \begin{definition}
|
| 457 | 2 | adas | [Types] |
| 458 | 4 | adas | To each formula we associate a tuple type as follows: |
| 459 | 2 | adas | \[ |
| 460 | 2 | adas | \begin{array}{rcll}
|
| 461 | 4 | adas | \type (\nat (t)) & := & \Nat & \\ |
| 462 | 4 | adas | \type(s = t) & := & \Nat & \\ |
| 463 | 2 | adas | \type (A \star B) & : = & \type (A) \times \type (B) & \text{for $\star \in \{ \lor, \land, \laor, \laand \} $.} \\
|
| 464 | 4 | adas | \type (! A) & : = & \type_\norm (A) & \\ |
| 465 | 4 | adas | \type (\exists x^N . A) & := & \Nat \times \type (A) & \\ |
| 466 | 4 | adas | % \type (\forall x^N . A) & := & \Nat \to \type(A) |
| 467 | 2 | adas | \end{array}
|
| 468 | 2 | adas | \] |
| 469 | 4 | adas | where $\nu$ designates that the inputs are normal. |
| 470 | 2 | adas | \end{definition}
|
| 471 | 2 | adas | |
| 472 | 4 | adas | \todo{compatibility with safety. To consider.}
|
| 473 | 2 | adas | |
| 474 | 2 | adas | |
| 475 | 2 | adas | |
| 476 | 4 | adas | |
| 477 | 2 | adas | \newcommand{\witness}[2]{\mathit{Witness}^{#1}_{#2}}
|
| 478 | 2 | adas | \begin{definition}
|
| 479 | 2 | adas | [Witness predicate] |
| 480 | 2 | adas | We define the following formula: |
| 481 | 2 | adas | \[ |
| 482 | 2 | adas | \begin{array}{rcll}
|
| 483 | 2 | adas | \witness{\vec a}{A} (w, \vec a) & := & A(\vec a) & \text{for $A$ quantifier-free.} \\
|
| 484 | 2 | adas | \witness{\vec a}{\exists x . A} (w, \vec w , \vec a) & := & \witness{\vec{a}, a}{A(a)}(\vec w , \vec a, w ) & \\
|
| 485 | 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\}$.} \\
|
| 486 | 2 | adas | \end{array}
|
| 487 | 2 | adas | \] |
| 488 | 2 | adas | \end{definition}
|
| 489 | 2 | adas | \todo{problem: what about complexity of checking equality? }
|
| 490 | 2 | adas | |
| 491 | 2 | adas | \todo{What about $\nat (t)$? What does it mean? Replace with true?}
|
| 492 | 2 | adas | |
| 493 | 2 | adas | \todo{either use the witness predicate above, or use realizability predicate at meta-level and a model theory, like BH.}
|
| 494 | 2 | adas | |
| 495 | 4 | adas | \anupam{Need to check above properly. $N(t)$ should be witnessed by the value of $t $ in the model. For equality of terms the witness should not do anything.}
|
| 496 | 2 | adas | |
| 497 | 2 | adas | \subsection{The translation}
|
| 498 | 2 | adas | Need witness predicate so that we know what is being preserved. |
| 499 | 2 | adas | |
| 500 | 2 | adas | \begin{definition}
|
| 501 | 2 | adas | [Translation] |
| 502 | 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:
|
| 503 | 2 | adas | \[ |
| 504 | 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)
|
| 505 | 2 | adas | \] |
| 506 | 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. |
| 507 | 2 | adas | |
| 508 | 2 | adas | We often suppress the parameters $\vec a$ when it is not important. |
| 509 | 2 | adas | |
| 510 | 2 | adas | \anupam{Is this implication provable in Bellantoni's version of PV based on BC?}
|
| 511 | 2 | adas | |
| 512 | 2 | adas | \anupam{for moment try ignore decoration on right? what about negation?}
|
| 513 | 2 | adas | |
| 514 | 3 | adas | |
| 515 | 2 | adas | |
| 516 | 2 | adas | \[ |
| 517 | 2 | adas | \vlderivation{
|
| 518 | 2 | adas | \vliin{\land}{}{ \Gamma, \Sigma \seqar \Delta, \Pi, A\land B }{
|
| 519 | 2 | adas | \vltr{\pi_1}{ \Gamma \seqar \Delta, A }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 520 | 2 | adas | }{
|
| 521 | 2 | adas | \vltr{\pi_2}{ \Sigma \seqar \Pi, B }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 522 | 2 | adas | } |
| 523 | 2 | adas | } |
| 524 | 2 | adas | \] |
| 525 | 2 | adas | |
| 526 | 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:
|
| 527 | 2 | adas | \[ |
| 528 | 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)
|
| 529 | 2 | adas | \] |
| 530 | 2 | adas | |
| 531 | 2 | adas | \anupam{bad notation since need to include free variables of sequent too. (also of theory.) Reconsider.}
|
| 532 | 2 | adas | |
| 533 | 2 | adas | \[ |
| 534 | 2 | adas | \vlderivation{
|
| 535 | 2 | adas | \vlin{\lefrul{\cntr}}{}{ !A , \Gamma \seqar \Delta }{
|
| 536 | 2 | adas | \vltr{\pi'}{ !A, !A , \Gamma \seqar \Delta}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 537 | 2 | adas | } |
| 538 | 2 | adas | } |
| 539 | 2 | adas | \] |
| 540 | 2 | adas | Have $\vec f' (x_1 , x_2 , \vec y ; \vec a)$ for $\pi'$. Define |
| 541 | 2 | adas | \[ |
| 542 | 2 | adas | \vec f (x_1 , \vec y ; \vec a) \quad := \quad \vec f'(x_1 , x_1 , \vec y ; \vec a) |
| 543 | 2 | adas | \] |
| 544 | 2 | adas | \[ |
| 545 | 2 | adas | \vlderivation{
|
| 546 | 2 | adas | \vlin{\rigrul{\cntr}}{}{\Gamma \seqar \Delta, ?A}{
|
| 547 | 2 | adas | \vltr{\pi'}{ \Gamma \seqar \Delta, ?A, ?A}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 548 | 2 | adas | } |
| 549 | 2 | adas | } |
| 550 | 2 | adas | \] |
| 551 | 2 | adas | (need test function against witness predicate?) |
| 552 | 2 | adas | |
| 553 | 2 | adas | \anupam{problem: how to test even equality of two terms? Maybe treat $?$ as $!$ on left?}
|
| 554 | 2 | adas | |
| 555 | 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?}
|
| 556 | 2 | adas | |
| 557 | 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.}
|
| 558 | 2 | adas | |
| 559 | 2 | adas | \anupam{this is actually the main point.}
|
| 560 | 2 | adas | |
| 561 | 2 | adas | |
| 562 | 2 | adas | \[ |
| 563 | 2 | adas | \vlderivation{
|
| 564 | 2 | adas | \vliin{\rigrul{\laand}}{}{\Gamma \seqar \Delta, A \laand B}{
|
| 565 | 2 | adas | \vltr{\pi_1}{ \Gamma \seqar \Delta, A}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 566 | 2 | adas | }{
|
| 567 | 2 | adas | \vltr{\pi_2}{ \Gamma \seqar \Delta, B}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 568 | 2 | adas | } |
| 569 | 2 | adas | } |
| 570 | 2 | adas | \] |
| 571 | 2 | adas | |
| 572 | 2 | adas | Suppose we have $\vec f^i (\vec x , \vec a ; \vec y , \vec b)$ from $\pi_i$. |
| 573 | 2 | adas | |
| 574 | 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?}
|
| 575 | 2 | adas | \anupam{skip this case and consider later.}
|
| 576 | 2 | adas | \[ |
| 577 | 2 | adas | \vlderivation{
|
| 578 | 2 | adas | \vliin{\cut}{}{\Gamma , \Sigma \seqar \Delta , \Pi}{
|
| 579 | 2 | adas | \vltr{\pi_1}{ \Gamma \seqar \Delta, A }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 580 | 2 | adas | }{
|
| 581 | 2 | adas | \vltr{\pi_2}{\Sigma , A \seqar \Pi}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 582 | 2 | adas | } |
| 583 | 2 | adas | } |
| 584 | 2 | adas | \] |
| 585 | 2 | adas | |
| 586 | 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$. |
| 587 | 2 | adas | |
| 588 | 2 | adas | Let us write: |
| 589 | 2 | adas | \[ |
| 590 | 2 | adas | \begin{array}{rcl}
|
| 591 | 2 | adas | \vec f^1 & = & ( \vec f^1_i )^{|\Delta|+1}_{i=1} \\
|
| 592 | 2 | adas | \vec f^2 & = & ( \vec f^2_i )^{|\Pi|}_{i=1}
|
| 593 | 2 | adas | \end{array}
|
| 594 | 2 | adas | \] |
| 595 | 2 | adas | to denote the parts of $\vec f^i$ corresponding to formulae in their sequents. |
| 596 | 2 | adas | |
| 597 | 2 | adas | |
| 598 | 2 | adas | We define: |
| 599 | 2 | adas | \[ |
| 600 | 2 | adas | \vec f (\vec w , \vec y ; \vec x , \vec z) |
| 601 | 2 | adas | \quad := \quad |
| 602 | 2 | adas | ( |
| 603 | 2 | adas | ( \vec f^1_i (\vec w ; \vec x) )_{i \leq |\Delta|}
|
| 604 | 2 | adas | , |
| 605 | 2 | adas | \vec f^2 ( \vec y ; \vec z , \vec f^1_{|\Delta| +1 } (\vec w ; \vec x) )
|
| 606 | 2 | adas | ) |
| 607 | 2 | adas | \] |
| 608 | 2 | adas | |
| 609 | 2 | adas | Notice that all safe inputs are hereditarily right of a $;$, and so these terms are definable by safe composition and projection. |
| 610 | 2 | adas | |
| 611 | 5 | adas | \todo{another case for $!\nat(x)$ cut formula.}
|
| 612 | 2 | adas | |
| 613 | 5 | adas | \anupam{should work for arbitrary $!$-cuts due to principal case for $!$}
|
| 614 | 2 | adas | |
| 615 | 4 | adas | |
| 616 | 2 | adas | Right existential: |
| 617 | 2 | adas | \[ |
| 618 | 2 | adas | \vlderivation{
|
| 619 | 2 | adas | \vlin{\rigrul{\exists}}{}{ \Gamma, \nat(t) \seqar \Delta , \exists x^\nat . A(x) }{
|
| 620 | 2 | adas | \vltr{\pi'}{ \Gamma \seqar \Delta , A(t) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 621 | 2 | adas | } |
| 622 | 2 | adas | } |
| 623 | 2 | adas | \] |
| 624 | 6 | adas | Suppose we have functions $\vec f^X (\vec x ; \vec y)$ from $\pi'$ for $X = \Delta$ or $ A$. |
| 625 | 4 | adas | \[ |
| 626 | 6 | adas | \vec f(\vec x ; \vec y , z) \quad := \quad ( ( \vec f_i' (\vec x ; \vec y))^{|\Delta|}_{i=1} , z , f_{|\Delta|+1} )
|
| 627 | 4 | adas | \] |
| 628 | 2 | adas | |
| 629 | 2 | adas | |
| 630 | 2 | adas | Left existential: |
| 631 | 2 | adas | \[ |
| 632 | 2 | adas | \vlderivation{
|
| 633 | 2 | adas | \vlin{\lefrul{\exists}}{}{ \Gamma, \exists x^N . A(x) \seqar \Delta }{
|
| 634 | 4 | adas | \vltr{\pi'(a)}{ \Gamma, N(a) , A(a) \seqar \Delta }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 635 | 2 | adas | } |
| 636 | 2 | adas | } |
| 637 | 2 | adas | \] |
| 638 | 2 | adas | |
| 639 | 4 | adas | Suppose we have functions $\vec f^a (\vec v , \vec w ; \vec x , y , \vec z)$ where $(\vec v ; \vec x) $ corresponds to $\Gamma$, $y$ corresponds to $\nat(a)$ and $(\vec w ; \vec z) $ corresponds to $A(a)$. Then we define: |
| 640 | 4 | adas | \[ |
| 641 | 4 | adas | \vec f ( \vec v , \vec w ; \vec x , y , \vec z ) |
| 642 | 4 | adas | \] |
| 643 | 4 | adas | |
| 644 | 4 | adas | \todo{finish}
|
| 645 | 4 | adas | |
| 646 | 2 | adas | !: |
| 647 | 2 | adas | \[ |
| 648 | 2 | adas | \vlderivation{
|
| 649 | 2 | adas | \vlin{!}{}{\Gamma, !A \seqar \Delta}{
|
| 650 | 2 | adas | \vltr{\pi'}{ \Gamma , A \seqar \Delta }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 651 | 2 | adas | } |
| 652 | 2 | adas | } |
| 653 | 2 | adas | \] |
| 654 | 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.}
|
| 655 | 2 | adas | |
| 656 | 2 | adas | |
| 657 | 2 | adas | Induction: (can assume no side-formulae on right for same reason as no contraction.) |
| 658 | 2 | adas | \[ |
| 659 | 2 | adas | \vlderivation{
|
| 660 | 3 | adas | \vliin{\ind}{}{ !\Gamma , !\nat (t) , A(\epsilon) \seqar A(t) }{
|
| 661 | 2 | adas | \vltr{\pi_0}{ !\Gamma , !\nat(a) , A(a) \seqar A(\succ_0 a)}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 662 | 2 | adas | }{
|
| 663 | 2 | adas | \vltr{\pi_1}{ !\Gamma , !\nat(a), A(a)\seqar A(\succ_1 a) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
| 664 | 2 | adas | } |
| 665 | 2 | adas | } |
| 666 | 2 | adas | \] |
| 667 | 2 | adas | |
| 668 | 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)$. |
| 669 | 2 | adas | |
| 670 | 2 | adas | |
| 671 | 2 | adas | \anupam{role of $!N(a)$ versus having $a$ as a parameter to function. To consider!}
|
| 672 | 2 | adas | |
| 673 | 2 | adas | Define the function $f_k$ (for $k = 1 , \dots , |\vec u|$) by PRN: |
| 674 | 2 | adas | \[ |
| 675 | 2 | adas | \begin{array}{rcl}
|
| 676 | 2 | adas | f_k(\epsilon, \vec x , y ; \vec u) & := & u_k \\ |
| 677 | 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 ) ) |
| 678 | 2 | adas | \end{array}
|
| 679 | 2 | adas | \] |
| 680 | 2 | adas | |
| 681 | 2 | adas | \anupam{check this, esp use of parameters, cf.\ above.}
|
| 682 | 2 | adas | |
| 683 | 2 | adas | \anupam{Is this not using a simultaneous version of PRN? Might need concatenation of words/basic coding to deal with this.}
|
| 684 | 2 | adas | |
| 685 | 3 | adas | |
| 686 | 2 | adas | \end{definition}
|
| 687 | 2 | adas | |
| 688 | 3 | adas | \newcommand{\concat}{\mathit{concat}}
|
| 689 | 3 | adas | \paragraph{Some points on concatenation \anupam{if necessary}}
|
| 690 | 3 | adas | We can define the concatenation operation by PRN: |
| 691 | 3 | adas | \[ |
| 692 | 3 | adas | \begin{array}{rcl}
|
| 693 | 3 | adas | \concat (\epsilon ; y) & : = & x \\ |
| 694 | 3 | adas | \concat (\succ_i x ; y) & := & \succ_i \concat (x ; y) |
| 695 | 3 | adas | \end{array}
|
| 696 | 3 | adas | \] |
| 697 | 2 | adas | |
| 698 | 3 | adas | From here we can define iterated concatenation: |
| 699 | 3 | adas | \[ |
| 700 | 3 | adas | \concat (x_1 , \dots x_n ; y) \quad := \quad \concat (x_n ; \concat (x_{n-1} ; \vldots \concat (x_1 ; y) \vldots ) )
|
| 701 | 3 | adas | \] |
| 702 | 3 | adas | |
| 703 | 3 | adas | (notice all safe inputs are hereditarily to the right of $;$ so this is definable by safe composition and projection.) |
| 704 | 3 | adas | |
| 705 | 2 | adas | \section{Further work}
|
| 706 | 2 | adas | |
| 707 | 2 | adas | Say something about minimisation and the polynomial hierarchy. Could be achieved by controlling contraction/additives, since this requires a notion of tests. |
| 708 | 2 | adas | |
| 709 | 2 | adas | \section{Conclusions}
|
| 710 | 2 | adas | |
| 711 | 4 | adas | \appendix |
| 712 | 2 | adas | |
| 713 | 4 | adas | \section{Some cut-elimination cases}
|
| 714 | 4 | adas | We work in a one-sided calculus for full linear logic. When working in the affine setting we simply drop the condition that weakened formulae are $?$-ed. |
| 715 | 4 | adas | |
| 716 | 4 | adas | As well as all usual rules, we have the induction rule: |
| 717 | 4 | adas | \[ |
| 718 | 4 | adas | \vlinf{\indr}{(x \notin FV (\Gamma) )}{? \Gamma, A^\perp (0) , A(t)}{? \Gamma , A^\perp (x) , A(s x) }
|
| 719 | 4 | adas | \] |
| 720 | 4 | adas | |
| 721 | 4 | adas | We give all the various cut-reduction cases in the following section but first we give a simple cut-elimination argument. |
| 722 | 4 | adas | |
| 723 | 4 | adas | \subsection{A basic (free-)cut elimination argument}
|
| 724 | 4 | adas | We give an argument that easily scales to free-cut elimination, i.e.\ in the presence of non-logical rules. |
| 725 | 4 | adas | |
| 726 | 4 | adas | \newcommand{\anarrow}[2]{\overset{#1}{\underset{#2}{\longrightarrow}}}
|
| 727 | 4 | adas | \newcommand{\cutredlin}{\mathit{ma}}
|
| 728 | 4 | adas | \newcommand{\cutredexp}{exp}
|
| 729 | 4 | adas | |
| 730 | 4 | adas | \begin{definition}
|
| 731 | 4 | adas | Let $\anarrow{}{\cutredexp}$ denote the reduction steps concerning exponential cuts, and $\anarrow{}{\cutredlin}$ be the set of cut-reduction steps concerning multiplicative and additive cuts.
|
| 732 | 4 | adas | \end{definition}
|
| 733 | 4 | adas | |
| 734 | 4 | adas | \newcommand{\rk}{\mathsf{rk}}
|
| 735 | 4 | adas | \renewcommand{\deg}{\mathsf{deg}}
|
| 736 | 4 | adas | \begin{definition}
|
| 737 | 4 | adas | [Measures] |
| 738 | 4 | adas | For a $\anarrow{}{\cutredlin}$-redex $r$, let its \emph{degree} $\deg( r)$ be the number of logical connectives or quantifiers in its cut-formula. For a proof $\pi$, its \emph{degree} $\deg( \pi)$ is the multiset of the degree of its redexes.
|
| 739 | 4 | adas | \end{definition}
|
| 740 | 4 | adas | |
| 741 | 4 | adas | \begin{proposition}
|
| 742 | 4 | adas | If $\pi$ is not $\anarrow{}{\cutredlin}$-normal then there is a derivation $L:\pi \anarrow{*}{\cutredlin} \pi'$ such that $\deg(\pi')< \deg(\pi)$.
|
| 743 | 4 | adas | \end{proposition}
|
| 744 | 4 | adas | \begin{proof}
|
| 745 | 4 | adas | First let us show the statement in the special case that $\pi$ contains precisely one $\cut$-inference as its final step, by induction on $|\pi|$. Each commutative $\anarrow{}{\cutredlin}$-step results in us being able to apply the inductive hypothesis to smaller proofs,- in the case of $\vlan $ two smaller proofs. Each key $\anarrow{}{\cutredlin}$-case strictly reduces the degree of the proof. Consequently we can eventually transform $\pi$ to a proof $\pi'$ which has possibly several cuts of smaller degree, as required.
|
| 746 | 4 | adas | |
| 747 | 4 | adas | Now to the general case, we simply apply the above procedure to the subproof above a topmost cut in $\pi$. |
| 748 | 4 | adas | \end{proof}
|
| 749 | 4 | adas | \begin{corollary}
|
| 750 | 4 | adas | $\anarrow{}{\cutredlin}$ is weakly normalising.
|
| 751 | 4 | adas | \end{corollary}
|
| 752 | 4 | adas | |
| 753 | 4 | adas | |
| 754 | 4 | adas | \newcommand{\cntdown}{\mathit{cn}}
|
| 755 | 4 | adas | \begin{definition}
|
| 756 | 4 | adas | [Lazy contraction] |
| 757 | 4 | adas | Let $\anarrow{}{\cntdown}$ comprise of the following reduction steps:
|
| 758 | 4 | adas | \begin{enumerate}
|
| 759 | 4 | adas | \item The commuting steps, |
| 760 | 4 | adas | \[ |
| 761 | 4 | adas | \vlderivation{
|
| 762 | 4 | adas | \vlin{\rho}{}{\Gamma', ?A, }{
|
| 763 | 4 | adas | \vlin{\cntr}{}{\Gamma, ?A}{\vlhy{\Gamma, ? A, ? A}}
|
| 764 | 4 | adas | } |
| 765 | 4 | adas | } |
| 766 | 4 | adas | \quad\to \quad |
| 767 | 4 | adas | \vlderivation{
|
| 768 | 4 | adas | \vlin{\cntr}{}{\Gamma', ?A}{
|
| 769 | 4 | adas | \vlin{\rho}{}{\Gamma', ?A, ?A}{\vlhy{\Gamma, ? A, ? A}}
|
| 770 | 4 | adas | } |
| 771 | 4 | adas | } |
| 772 | 4 | adas | \] |
| 773 | 4 | adas | for each unary rule $\rho$. |
| 774 | 4 | adas | \item |
| 775 | 4 | adas | The key steps: |
| 776 | 4 | adas | \[ |
| 777 | 4 | adas | \begin{array}{rcl}
|
| 778 | 4 | adas | \vlderivation{
|
| 779 | 4 | adas | \vlin{\cntr}{}{\Gamma, ?A}{
|
| 780 | 4 | adas | \vlin{\wk}{}{\Gamma, ?A, ?A}{\vlhy{\Gamma, ?A}}
|
| 781 | 4 | adas | } |
| 782 | 4 | adas | } |
| 783 | 4 | adas | \quad &\to & \quad |
| 784 | 4 | adas | \Gamma, ?A |
| 785 | 4 | adas | % \] |
| 786 | 4 | adas | % and |
| 787 | 4 | adas | % \[ |
| 788 | 4 | adas | \\ |
| 789 | 4 | adas | \noalign{\smallskip}
|
| 790 | 4 | adas | \vlderivation{
|
| 791 | 4 | adas | \vlin{\wk}{}{\Gamma, ?A, ?A}{
|
| 792 | 4 | adas | \vlin{\cntr}{}{\Gamma, ?A}{\vlhy{\Gamma, ?A, ?A}}
|
| 793 | 4 | adas | } |
| 794 | 4 | adas | } |
| 795 | 4 | adas | \quad &\to& \quad |
| 796 | 4 | adas | \Gamma, ?A, ?A |
| 797 | 4 | adas | \end{array}
|
| 798 | 4 | adas | \]. |
| 799 | 4 | adas | \item The commuting steps, |
| 800 | 4 | adas | \[ |
| 801 | 4 | adas | \vlderivation{
|
| 802 | 4 | adas | \vliin{\rho}{}{\Gamma ,?A}{
|
| 803 | 4 | adas | \vlin{\cntr}{}{\Gamma_1, ?A}{\vlhy{\Gamma_1, ?A, ?A}}
|
| 804 | 4 | adas | }{\vlhy{\Gamma_2}}
|
| 805 | 4 | adas | } |
| 806 | 4 | adas | \quad \to \quad |
| 807 | 4 | adas | \vlderivation{
|
| 808 | 4 | adas | \vlin{\cntr}{}{\Gamma, ?A}{
|
| 809 | 4 | adas | \vliin{\rho}{}{\Gamma,?A, ?A}{\vlhy{\Gamma_1, ?A, ?A}}{ \vlhy{\Gamma_2} }
|
| 810 | 4 | adas | } |
| 811 | 4 | adas | } |
| 812 | 4 | adas | \] |
| 813 | 4 | adas | %\[ |
| 814 | 4 | adas | %\begin{array}{rcl}
|
| 815 | 4 | adas | % \vlderivation{
|
| 816 | 4 | adas | % \vliin{\land}{}{\Gamma, \Delta, ?A, B\land C}{
|
| 817 | 4 | adas | % \vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
|
| 818 | 4 | adas | % }{\vlhy{\Delta, C}}
|
| 819 | 4 | adas | % } |
| 820 | 4 | adas | % \quad &\to &\quad |
| 821 | 4 | adas | % \vlderivation{
|
| 822 | 4 | adas | % \vlin{\cntr}{}{\Gamma, \Delta, ?A, B\land C}{
|
| 823 | 4 | adas | % \vliin{\land}{}{\Gamma, \Delta, ?A, ?A, B\land C}{\vlhy{\Gamma, ?A, ?A, B}}{ \vlhy{\Delta, C} }
|
| 824 | 4 | adas | % } |
| 825 | 4 | adas | % } |
| 826 | 4 | adas | %% \] |
| 827 | 4 | adas | %% |
| 828 | 4 | adas | %% \[ |
| 829 | 4 | adas | %\\ |
| 830 | 4 | adas | %\noalign{\smallskip}
|
| 831 | 4 | adas | % \vlderivation{
|
| 832 | 4 | adas | % \vliin{\cut}{}{\Gamma, \Delta, ?A}{
|
| 833 | 4 | adas | % \vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
|
| 834 | 4 | adas | % }{\vlhy{\Delta, \lnot{B}}}
|
| 835 | 4 | adas | % } |
| 836 | 4 | adas | % \quad &\to& \quad |
| 837 | 4 | adas | % \vlderivation{
|
| 838 | 4 | adas | % \vlin{\cntr}{}{\Gamma, \Delta, ?A}{
|
| 839 | 4 | adas | % \vliin{\cut}{}{\Gamma, \Delta, ?A, ?A}{\vlhy{\Gamma, ?A, ?A, B}}{ \vlhy{\Delta, \lnot{B}} }
|
| 840 | 4 | adas | % } |
| 841 | 4 | adas | % } |
| 842 | 4 | adas | %\end{array}
|
| 843 | 4 | adas | %\] |
| 844 | 4 | adas | for each binary rule $\rho \in \{ \land, \cut \}$.
|
| 845 | 4 | adas | \item The commuting step: |
| 846 | 4 | adas | \[ |
| 847 | 4 | adas | \vlderivation{
|
| 848 | 4 | adas | \vliin{\vlan}{}{\Gamma, ?A, B\vlan C}{
|
| 849 | 4 | adas | \vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
|
| 850 | 4 | adas | }{\vlhy{\Gamma, ?A, B}}
|
| 851 | 4 | adas | } |
| 852 | 4 | adas | \quad \to \quad |
| 853 | 4 | adas | \vlderivation{
|
| 854 | 4 | adas | \vlin{\cntr}{}{\Gamma, ?A, B\vlan C}{
|
| 855 | 4 | adas | \vliin{\vlan}{}{\Gamma, ?A, ?A, B\vlan C}{\vlhy{\Gamma, ?A, ?A, B}}{
|
| 856 | 4 | adas | \vlin{\wk}{}{\Gamma, ?A, ?A, C}{\vlhy{\Gamma, ?A, C}}
|
| 857 | 4 | adas | } |
| 858 | 4 | adas | } |
| 859 | 4 | adas | } |
| 860 | 4 | adas | \] |
| 861 | 4 | adas | \end{enumerate}
|
| 862 | 4 | adas | For binary rules: |
| 863 | 4 | adas | |
| 864 | 4 | adas | \end{definition}
|
| 865 | 4 | adas | \begin{proposition}
|
| 866 | 4 | adas | $\anarrow{}{\cntdown}$ is weakly normalising
|
| 867 | 4 | adas | , modulo $\cntr$-$\cntr$ redexes, |
| 868 | 4 | adas | and degree-preserving. |
| 869 | 4 | adas | If $\pi$ is $\anarrow{}{\cutredlin}$-normal and $\pi \downarrow_\cntdown \pi'$, then so is $\pi'$.
|
| 870 | 4 | adas | \end{proposition}
|
| 871 | 4 | adas | \begin{proof}
|
| 872 | 4 | adas | By induction on the number of redexes in a proof. Start with bottommost redex, by induction on number of inference steps beneath it. |
| 873 | 4 | adas | \end{proof}
|
| 874 | 4 | adas | |
| 875 | 4 | adas | \begin{remark}
|
| 876 | 4 | adas | Only weakly normalising since $\cntr$ can commute with $\cntr$, allowing cycles. |
| 877 | 4 | adas | \end{remark}
|
| 878 | 4 | adas | |
| 879 | 4 | adas | \begin{proposition}
|
| 880 | 4 | adas | If $\pi$ is $\anarrow{}{\cutredexp}$-reducible but $\anarrow{}{\cutredlin}$- and $\anarrow{}{\cntdown}$-normal then there is a derivation $H:\pi \anarrow{*}{\cutredexp} \pi'$ such that $\deg (\pi')<\deg(\pi)$.
|
| 881 | 4 | adas | \end{proposition}
|
| 882 | 4 | adas | |
| 883 | 4 | adas | |
| 884 | 4 | adas | |
| 885 | 4 | adas | \subsection{Base cases}
|
| 886 | 4 | adas | |
| 887 | 4 | adas | \[ |
| 888 | 4 | adas | \vlderivation{
|
| 889 | 4 | adas | \vliin{\cut}{}{ \Gamma,a }{ \vlhy{\Gamma,a} }{ \vlin{\id}{}{a,a^\bot}{ \vlhy{} } }
|
| 890 | 4 | adas | } |
| 891 | 4 | adas | \quad\to\quad |
| 892 | 4 | adas | \vlderivation{
|
| 893 | 4 | adas | \Gamma,a |
| 894 | 4 | adas | } |
| 895 | 4 | adas | \] |
| 896 | 4 | adas | |
| 897 | 4 | adas | \[ |
| 898 | 4 | adas | \vlderivation{
|
| 899 | 4 | adas | \vliin{\cut}{}{\Gamma}{ \vlin{\bot}{}{ \Gamma,\bot }{ \vlhy{\Gamma} } }{ \vlin{1}{}{1}{ \vlhy{} } }
|
| 900 | 4 | adas | } |
| 901 | 4 | adas | \quad\to\quad |
| 902 | 4 | adas | \vlderivation{
|
| 903 | 4 | adas | \Gamma |
| 904 | 4 | adas | } |
| 905 | 4 | adas | \] |
| 906 | 4 | adas | |
| 907 | 4 | adas | \[ |
| 908 | 4 | adas | \vlderivation{
|
| 909 | 4 | adas | \vliin{\cut}{}{ \Gamma,\Delta,\top }{ \vlin{\top}{}{ \Gamma,\top,0 }{ \vlhy{} } }{ \vlhy{\Delta , \top } }
|
| 910 | 4 | adas | } |
| 911 | 4 | adas | \quad\to\quad |
| 912 | 4 | adas | \vlinf{\top}{}{ \Gamma,\Delta,\top }{}
|
| 913 | 4 | adas | \] |
| 914 | 4 | adas | |
| 915 | 4 | adas | \subsection{Commutative cases}
|
| 916 | 4 | adas | These are the cases when the principal formula of a step is not active for the cut-step below. |
| 917 | 4 | adas | |
| 918 | 4 | adas | \begin{enumerate}
|
| 919 | 4 | adas | \item The cut-step is immediately preceded by an initial step. Note that only the case for $\top$ applies: |
| 920 | 4 | adas | \[ |
| 921 | 4 | adas | \vlderivation{
|
| 922 | 4 | adas | \vliin{\cut}{}{\Gamma,\Delta,\top}{
|
| 923 | 4 | adas | \vlin{\top}{ }{ \Gamma,\top,A }{ \vlhy{} }
|
| 924 | 4 | adas | }{ \vlhy{\Delta,A^\bot } }
|
| 925 | 4 | adas | } |
| 926 | 4 | adas | \quad\to\quad |
| 927 | 4 | adas | \vlinf{\top}{}{ \Gamma,\Delta,\top }{}
|
| 928 | 4 | adas | \] |
| 929 | 4 | adas | %Notice that this commutation eliminates the cut entirely and preserves the height of all cuts below. |
| 930 | 4 | adas | \item\label{CaseCommOneStep} A cut-step is immediately preceded by a step $\rho$ with exactly one premiss:
|
| 931 | 4 | adas | \[ |
| 932 | 4 | adas | \vlderivation{
|
| 933 | 4 | adas | \vliin{\cut}{}{\Gamma',\Delta}{\vlin{\rho}{}{\Gamma',A}{\vlhy{\Gamma,A}}}{\vlhy{A^\bot , \Delta}}
|
| 934 | 4 | adas | } |
| 935 | 4 | adas | \] |
| 936 | 4 | adas | We have three subcases: |
| 937 | 4 | adas | \begin{enumerate}
|
| 938 | 4 | adas | \item\label{subcase:unary-commutation-vanilla}
|
| 939 | 4 | adas | %$\Delta$ consists of only $?$-ed formulae or |
| 940 | 4 | adas | If $\rho \notin \{! , \indr \}$ then we can simply permute as follows:
|
| 941 | 4 | adas | \begin{equation}
|
| 942 | 4 | adas | \label{eqn:com-case-unary-simple}
|
| 943 | 4 | adas | \vlderivation{
|
| 944 | 4 | adas | \vliin{\cut}{}{\Gamma',\Delta}{\vlin{\rho}{}{\Gamma',A}{\vlhy{\Gamma,A}}}{\vlhy{A^\bot , \Delta}}
|
| 945 | 4 | adas | } |
| 946 | 4 | adas | \quad \to \quad |
| 947 | 4 | adas | \vlderivation{
|
| 948 | 4 | adas | \vlin{\rho}{}{\Gamma',\Delta}{
|
| 949 | 4 | adas | \vliin{\cut}{}{\Gamma,\Delta}{\vlhy{\Gamma,A}}{\vlhy{A^\bot , \Delta}}
|
| 950 | 4 | adas | } |
| 951 | 4 | adas | } |
| 952 | 4 | adas | \end{equation}
|
| 953 | 4 | adas | (If $\rho$ was $\forall$ then we might need to rename some free variables in $\Delta$.) |
| 954 | 4 | adas | \item $\rho $ is a $!$-step. Therefore $\Gamma$ has the form $? \Sigma , B$ and $A$ has the form $?C$, yielding the following situation: |
| 955 | 4 | adas | \[ |
| 956 | 4 | adas | \vlderivation{
|
| 957 | 4 | adas | \vliin{\cut}{}{? \Sigma, !B, \Delta }{
|
| 958 | 4 | adas | \vlin{!}{}{? \Sigma, !B , ?C}{\vlhy{?\Sigma , B , ?C} }
|
| 959 | 4 | adas | }{
|
| 960 | 4 | adas | \vlin{\rho'}{}{!C^\perp , \Delta}{\vlhy{\vlvdots}}
|
| 961 | 4 | adas | } |
| 962 | 4 | adas | } |
| 963 | 4 | adas | \] |
| 964 | 4 | adas | Now, if $!C^\perp$ is principle for $\rho'$ then $\rho'\in \{! , \indr\}$ and so $\Delta $ must be $?$-ed; in this case we are able to apply the transformation \eqref{eqn:com-case-unary-simple}. Otherwise $A^\perp$ is not principal for $\rho'$ and so $\rho' \notin \{! , \indr \}$, which means we can apply \ref{subcase:unary-commutation-vanilla} along this side of the subproof.
|
| 965 | 4 | adas | \item $\rho$ is a $\indr$-step. Therefore $\Gamma$ has the form $? \Sigma , B^\perp(x), B(s x) $ and $A$ has the form $?C$, and the argument is similar to the case above. |
| 966 | 4 | adas | % yielding the following situation: |
| 967 | 4 | adas | %\[ |
| 968 | 4 | adas | %\vlderivation{
|
| 969 | 4 | adas | % \vliin{\cut}{}{? \Sigma, B^\perp (0) , B(t), \Delta }{
|
| 970 | 4 | adas | % \vlin{\indr}{}{? \Sigma, B^\perp (0) , B(t) , ?C}{\vlhy{?\Sigma , B^\perp(x) , B(s x) , ?C} }
|
| 971 | 4 | adas | % }{
|
| 972 | 4 | adas | % \vlin{\rho'}{}{!C^\perp , \Delta}{\vlhy{\vlvdots}}
|
| 973 | 4 | adas | %} |
| 974 | 4 | adas | %} |
| 975 | 4 | adas | %\] |
| 976 | 4 | adas | \end{enumerate}
|
| 977 | 4 | adas | |
| 978 | 4 | adas | |
| 979 | 4 | adas | |
| 980 | 4 | adas | \item A cut-step is immediately preceded by a $\vlte $-step: |
| 981 | 4 | adas | \[ |
| 982 | 4 | adas | \vlderivation{
|
| 983 | 4 | adas | \vliin{\cut}{}{\Gamma,\Delta,\Sigma,A\vlte B }{
|
| 984 | 4 | adas | \vliin{\vlte}{}{\Gamma,\Delta,A\vlte B,C }{\vlhy{\Gamma,A,C}}{\vlhy{\Delta,B}}
|
| 985 | 4 | adas | }{\vlhy{ \Sigma , C^\bot }}
|
| 986 | 4 | adas | } |
| 987 | 4 | adas | \quad\to\quad |
| 988 | 4 | adas | \vlderivation{
|
| 989 | 4 | adas | \vliin{\vlte}{}{\Gamma,\Delta,\Sigma,A\vlte B}{
|
| 990 | 4 | adas | \vliin{\cut}{}{\Gamma,\Sigma,A}{\vlhy{\Gamma,A,C}}{\vlhy{\Sigma,C^\bot}}
|
| 991 | 4 | adas | }{\vlhy{\Delta,B}}
|
| 992 | 4 | adas | } |
| 993 | 4 | adas | \] |
| 994 | 4 | adas | %Notice that this commutation might increase the height of any cuts below along the right branch of the indicated cut, but decreases the height along the left branch. |
| 995 | 4 | adas | \item\label{CommCaseAmpersand} A cut-step is immediately preceded by a $\vlan$-step.
|
| 996 | 4 | adas | \[ |
| 997 | 4 | adas | \vlderivation{
|
| 998 | 4 | adas | \vliin{\cut}{}{ \Gamma,\Delta,A\vlan B }{ \vliin{\vlan}{}{\Gamma,A\vlan B,C}{ \vlhy{\Gamma,A,C} }{\vlhy{\Gamma,B,C}}}{ \vlhy{\Delta, C^\bot} }
|
| 999 | 4 | adas | } |
| 1000 | 4 | adas | \quad\to\quad |
| 1001 | 4 | adas | \vlderivation{
|
| 1002 | 4 | adas | \vliin{\vlan}{}{\Gamma,\Delta,A\vlan B }{
|
| 1003 | 4 | adas | \vliin{cut}{}{\Gamma,\Delta,A }{ \vlhy{\Gamma,A,C} }{ \vlhy{ \Delta,C^\bot } }
|
| 1004 | 4 | adas | }{
|
| 1005 | 4 | adas | \vliin{ \cut }{}{\Gamma,\Delta,B}{ \vlhy{\Gamma,B,C } }{ \vlhy{\Delta,C^\bot} }
|
| 1006 | 4 | adas | } |
| 1007 | 4 | adas | } |
| 1008 | 4 | adas | \] |
| 1009 | 4 | adas | \item (No rule for cuts commuting with cuts.) |
| 1010 | 4 | adas | %A cut-step is immediately preceded by another cut-step: |
| 1011 | 4 | adas | \[ |
| 1012 | 4 | adas | \vlderivation{
|
| 1013 | 4 | adas | \vliin{\cut}{}{\Gamma, \Delta, \Sigma}{
|
| 1014 | 4 | adas | \vliin{\cut}{}{\Gamma, \Delta, B}{\vlhy{\Gamma, A}}{\vlhy{\Delta, \lnot{A}, B}}
|
| 1015 | 4 | adas | }{\vlhy{\Sigma, \lnot{B}}}
|
| 1016 | 4 | adas | } |
| 1017 | 4 | adas | \quad\to\quad |
| 1018 | 4 | adas | \vlderivation{
|
| 1019 | 4 | adas | \vliin{\cut}{}{\Gamma, \Delta, \Sigma}{\vlhy{\Gamma, A}}{
|
| 1020 | 4 | adas | \vliin{\cut}{}{\Delta, \Sigma, \lnot{A}}{\vlhy{\Delta, \lnot{A}, B}}{\vlhy{\Sigma, \lnot{B}}}
|
| 1021 | 4 | adas | } |
| 1022 | 4 | adas | } |
| 1023 | 4 | adas | \] |
| 1024 | 4 | adas | \end{enumerate}
|
| 1025 | 4 | adas | |
| 1026 | 4 | adas | |
| 1027 | 4 | adas | |
| 1028 | 4 | adas | \subsection{Key cases: structural steps}
|
| 1029 | 4 | adas | %[THIS SECTION MIGHT NOT BE NECESSARY] |
| 1030 | 4 | adas | We attempt to permute cuts on exponential formulae over structural steps whose principal formula is active for the cut. |
| 1031 | 4 | adas | |
| 1032 | 4 | adas | We use the commutative case \ref{CaseCommOneStep} to assume that the topmost cut-step in a sequence has already been permuted up to its origin on the $!$-side.
|
| 1033 | 4 | adas | |
| 1034 | 4 | adas | We have two cases. |
| 1035 | 4 | adas | \begin{enumerate}
|
| 1036 | 4 | adas | \item\label{StructStepCont} The structural step preceding the cut is a weakening:
|
| 1037 | 4 | adas | \[ |
| 1038 | 4 | adas | \vlderivation{
|
| 1039 | 4 | adas | \vliin{\cut}{}{?\Gamma,\Delta}{ \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} } }{ \vlin{w}{}{ ?A^\bot }{ \vlhy{\Delta } } }
|
| 1040 | 4 | adas | } |
| 1041 | 4 | adas | \quad\to\quad |
| 1042 | 4 | adas | \vlinf{w}{}{?\Gamma,\Delta}{ \Delta }
|
| 1043 | 4 | adas | \] |
| 1044 | 4 | adas | %\item The structural step preceding the cut is a contraction: |
| 1045 | 4 | adas | %\[ |
| 1046 | 4 | adas | %\vlderivation{
|
| 1047 | 4 | adas | %\vliin{\cut}{}{ ?\Gamma,\Delta }{
|
| 1048 | 4 | adas | % \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
| 1049 | 4 | adas | %}{ \vlin{c}{}{ ?A^\bot , \Delta }{ \vlhy{ ?A^\bot , ?A^\bot , \Delta} } }
|
| 1050 | 4 | adas | %} |
| 1051 | 4 | adas | %\quad\to\quad |
| 1052 | 4 | adas | %\vlderivation{
|
| 1053 | 4 | adas | %\vliq{c}{}{?\Gamma, \Delta}{
|
| 1054 | 4 | adas | %\vliin{\cut}{}{?\Gamma, ?\Gamma,\Delta }{
|
| 1055 | 4 | adas | % \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
| 1056 | 4 | adas | %}{
|
| 1057 | 4 | adas | %\vliin{\cut}{}{?\Gamma,?A^\bot , \Delta }{
|
| 1058 | 4 | adas | % \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
| 1059 | 4 | adas | %}{ \vlhy{?A^\bot , ?A^\bot , \Delta } }
|
| 1060 | 4 | adas | %} |
| 1061 | 4 | adas | %} |
| 1062 | 4 | adas | %} |
| 1063 | 4 | adas | %\] |
| 1064 | 4 | adas | %OR use a multicut: |
| 1065 | 4 | adas | %\[ |
| 1066 | 4 | adas | %\vlderivation{
|
| 1067 | 4 | adas | %\vliin{\cut}{}{ ?\Gamma,\Delta }{
|
| 1068 | 4 | adas | % \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
| 1069 | 4 | adas | %}{ \vlin{c}{}{ ?A^\bot , \Delta }{ \vlhy{ ?A^\bot , ?A^\bot , \Delta} } }
|
| 1070 | 4 | adas | %} |
| 1071 | 4 | adas | %\quad\to\quad |
| 1072 | 4 | adas | %\vlderivation{
|
| 1073 | 4 | adas | %\vliin{\multicut}{}{?\Gamma,?A^\bot , \Delta }{
|
| 1074 | 4 | adas | % \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
| 1075 | 4 | adas | %}{ \vlhy{?A^\bot , ?A^\bot , \Delta } }
|
| 1076 | 4 | adas | %} |
| 1077 | 4 | adas | %\] |
| 1078 | 4 | adas | \item The structural step preceding a cut is a contraction: |
| 1079 | 4 | adas | \[ |
| 1080 | 4 | adas | \vlderivation{
|
| 1081 | 4 | adas | \vliin{\cut}{}{?\Gamma, \Sigma }{ \vlhy{?\Gamma,!A^\bot} }{
|
| 1082 | 4 | adas | \vlin{\cntr}{}{ ?A,\Sigma }{ \vlhy{ ?A,?A,\Sigma } }
|
| 1083 | 4 | adas | } |
| 1084 | 4 | adas | } |
| 1085 | 4 | adas | \quad\to\quad |
| 1086 | 4 | adas | \vlderivation{
|
| 1087 | 4 | adas | \vliq{\cntr}{}{ ?\Gamma,\Sigma }{
|
| 1088 | 4 | adas | \vliin{\cut}{}{ ?\Gamma,?\Gamma,\Sigma }{ \vlhy{?\Gamma,!A^\bot } }{
|
| 1089 | 4 | adas | \vliin{\cut}{}{ ?A,?\Gamma,\Sigma }{ \vlhy{?\Gamma,!A^\bot} }{ \vlhy{ ?A,?A,?\Delta,\Sigma } }
|
| 1090 | 4 | adas | } |
| 1091 | 4 | adas | } |
| 1092 | 4 | adas | } |
| 1093 | 4 | adas | \] |
| 1094 | 4 | adas | %\item The structural step preceding a cut is a parallel contraction: |
| 1095 | 4 | adas | %\[ |
| 1096 | 4 | adas | %\vlderivation{
|
| 1097 | 4 | adas | %\vliin{\cut}{}{?\Gamma,?\Delta, \Sigma }{ \vlhy{?\Gamma,!A^\bot} }{
|
| 1098 | 4 | adas | %\vlin{}{}{ ?A,?\Delta,\Sigma }{ \vlhy{ ?A,?A,?\Delta,?\Delta,\Sigma } }
|
| 1099 | 4 | adas | %} |
| 1100 | 4 | adas | %} |
| 1101 | 4 | adas | %\quad\to\quad |
| 1102 | 4 | adas | %\vlderivation{
|
| 1103 | 4 | adas | %\vlin{}{}{ ?\Gamma,?\Delta,\Sigma }{
|
| 1104 | 4 | adas | %\vliin{\cut}{}{ ?\Gamma,?\Gamma,?\Delta,?\Delta,\Sigma }{ \vlhy{?\Gamma,!A^\bot } }{
|
| 1105 | 4 | adas | %\vliin{\cut}{}{ ?A,?\Gamma,?\Delta,?\Delta,\Sigma }{ \vlhy{?\Gamma,!A^\bot} }{ \vlhy{ ?A,?A,?\Delta,?\Delta,\Sigma } }
|
| 1106 | 4 | adas | %} |
| 1107 | 4 | adas | %} |
| 1108 | 4 | adas | %} |
| 1109 | 4 | adas | %\] |
| 1110 | 4 | adas | \end{enumerate}
|
| 1111 | 4 | adas | |
| 1112 | 4 | adas | \subsection{Key cases: logical steps}
|
| 1113 | 4 | adas | Finally, once all cuts have been permuted maximally on both sides, we have the cases when the cut-formula is principal for a preceding logical step on both sides. We have three cases, one for every pair of connectives. |
| 1114 | 4 | adas | \begin{enumerate}
|
| 1115 | 4 | adas | \item The cut-formula is multiplicative: |
| 1116 | 4 | adas | \[ |
| 1117 | 4 | adas | \vlderivation{
|
| 1118 | 4 | adas | \vliin{\cut}{}{ \Gamma,\Delta,\Sigma }{
|
| 1119 | 4 | adas | \vliin{\vlte}{}{ \Gamma,\Delta,A\vlte B }{ \vlhy{\Gamma,A} }{ \vlhy{\Delta,B} }
|
| 1120 | 4 | adas | }{ \vlin{\vlpa}{}{ \Sigma, A^\bot \vlpa B^\bot }{ \vlhy{\Sigma , A^\bot , B^\bot} } }
|
| 1121 | 4 | adas | } |
| 1122 | 4 | adas | \quad\to\quad |
| 1123 | 4 | adas | \vlderivation{
|
| 1124 | 4 | adas | \vliin{\cut}{}{ \Gamma,\Delta,\Sigma }{ \vlhy{\Gamma,A} }{
|
| 1125 | 4 | adas | \vliin{\cut}{}{ \Delta,\Sigma,A^\bot }{ \vlhy{\Delta,B} }{ \vlhy{\Sigma , A^\bot,B^\bot } }
|
| 1126 | 4 | adas | } |
| 1127 | 4 | adas | } |
| 1128 | 4 | adas | \] |
| 1129 | 4 | adas | \item The cut-formula is additive, |
| 1130 | 4 | adas | \[ |
| 1131 | 4 | adas | \vlderivation{
|
| 1132 | 4 | adas | \vliin{\cut}{}{ \Gamma,\Delta }{
|
| 1133 | 4 | adas | \vliin{\vlan}{}{ \Gamma,A\vlan B }{ \vlhy{\Gamma,A} }{ \vlhy{\Gamma,B} }
|
| 1134 | 4 | adas | }{ \vlin{\vlor}{}{ \Delta,A^\bot\vlor B^\bot }{ \vlhy{\Delta, A^\bot } } }
|
| 1135 | 4 | adas | } |
| 1136 | 4 | adas | \quad\to\quad |
| 1137 | 4 | adas | \vliinf{\cut}{}{ \Gamma,\Delta }{ \Gamma,A }{ \Delta,A^\bot }
|
| 1138 | 4 | adas | \] |
| 1139 | 4 | adas | where the case for the other $\vlor$-rule is symmetric. |
| 1140 | 4 | adas | \item The cut-formula is exponential. |
| 1141 | 4 | adas | \[ |
| 1142 | 4 | adas | \vlderivation{
|
| 1143 | 4 | adas | \vliin{\cut}{}{ ?\Gamma,\Delta }{
|
| 1144 | 4 | adas | \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
| 1145 | 4 | adas | }{
|
| 1146 | 4 | adas | \vlin{?}{}{ \Delta,?A^\bot }{ \vlhy{\Delta, A^\bot } }
|
| 1147 | 4 | adas | } |
| 1148 | 4 | adas | } |
| 1149 | 4 | adas | \quad\to\quad |
| 1150 | 4 | adas | \vliinf{\cut}{}{ ?\Gamma,\Delta }{ ?\Gamma,A }{ \Delta,A^\bot }
|
| 1151 | 4 | adas | \] |
| 1152 | 4 | adas | \item The cut-formula is quantified. |
| 1153 | 4 | adas | \[ |
| 1154 | 4 | adas | \vlderivation{
|
| 1155 | 4 | adas | \vliin{\cut}{}{\Gamma, \Delta}{
|
| 1156 | 4 | adas | \vlin{\forall}{}{\Gamma, \forall x. A(x)}{\vltr{\pi(a)}{\Gamma, A(a)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}}
|
| 1157 | 4 | adas | }{
|
| 1158 | 4 | adas | \vlin{\exists}{}{\Delta, \exists x . \lnot{A}(x)}{\vlhy{\Delta, \lnot{A}(t)}}
|
| 1159 | 4 | adas | } |
| 1160 | 4 | adas | } |
| 1161 | 4 | adas | \quad \to \quad |
| 1162 | 4 | adas | \vlderivation{
|
| 1163 | 4 | adas | \vliin{\cut}{}{\Gamma, \Delta}{
|
| 1164 | 4 | adas | \vltr{\pi(t)}{\Gamma, A(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
| 1165 | 4 | adas | }{\vlhy{\Delta, \lnot{A}(t)}}
|
| 1166 | 4 | adas | } |
| 1167 | 4 | adas | \] |
| 1168 | 4 | adas | \end{enumerate}
|
| 1169 | 4 | adas | |
| 1170 | 4 | adas | |
| 1171 | 2 | adas | \end{document} |