-
Notifications
You must be signed in to change notification settings - Fork 0
/
chapter-prop.tex
532 lines (443 loc) · 21.4 KB
/
chapter-prop.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
\chapter{Propositional Logic}
\label{chapter-prop}
Intuitionistic propositional logic (IPL) is the starting point for our
investigations into a uniform proof procedure for intuitionistic logics, and is
a sub-logic of all logics in later chapters. As it involves neither quantifiers
nor constraints, it is the simplest logic we will consider.
Even so, it poses some interesting challenges, and motivates our choice of the
polarized inverse method as a proof search strategy.
\section{Preliminaries}
In this section we quickly review some background material and notations.
\paragraph{Multisets.}
Let $\cU$ be a set. A \emph{(finite) multiset} of $\cU$
is a function $f$ from
$\cU$ to $\Nat$ where $f(x)=0$ for all but a finite number of elements of
$\cU$. The empty multiset, written $\cdot$ or $\emptyset$ is the
function $\lambda x.\ 0$. If $f$ is a multiset then $f, x$ is a multiset
where $(f, x) (x) = f(x)+1$ and $(f, x) (y)=f (y)$ when $x\neq y$.
If $f$ and $g$ are multisets, then $f\Union g$ is a multiset where
$(f\Union g) (x) = f(x)+g(x)$. When we are writing both set and multiset union
in the same part of the text, we will use $X \uplus Y$ for multiset union.
The number of elements in a set or multiset $\Gamma$ is written $\Card{\Gamma}$.
\paragraph{Ordered sequences.}
If $\cU$ is a set, a \emph{sequence} of $\cU$ is either empty (written $[]$)
or has the form $x:S$ where $x\in \cU$ and $S$ is a sequence of $\cU$.
We abbreviate $x_1 : x_2 : \cdots : x_n : []$ as $[x_1,\ldots,x_n]$.
\paragraph{Notations.}
If $\cU$ is a set, let $\PSet{\cU}$ be the powerset of $\cU$ and $\SSet{\cU}$ be
the set of ordered sequences of elements of $\cU$. $\SSet{\cU}_n$ is the
set of sequences of $X$ with length $n$.
\section{Sequent calculus}
% \begin{quote}
% \textit{We define the backward calculus $\LJ$ for
% IPL, and remind the reader of some important properties.}
% \end{quote}
% \noindent
\begin{definition}[Formulas]
Let $\Atoms$ be an infinite set of symbols, called \emph{atoms}.
Formulas of IPL are
\[
\mbox{Formulas } A ::= p \Sep A \And A \Sep \Top \Sep A \Or A
\Sep \Bot \Sep A \Imp A
\]
where $p\in\Atoms$ and $\And$, $\Or$, $\Imp$, $\Top$, $\Bot$
signify conjunction, disjunction, implication, truth, and falsehood
respectively.
Formulas of the first kind are called \emph{atomic}.
Derived connectives for negation and bi-implication are
\[
\begin{array}{rl}
\Not A &:= A \Imp \Bot \\
A \Iff B &:= (A \Imp B) \And (B \Imp A).
\end{array}
\]
\end{definition}
\subsection{Rule generation}
\subsection{Polarization strategies}
Given an un-polarized input formula, the minimal polarization will sometimes
yield bad operational behavior in the inverse method. For a simple example,
consider the trivial formula $(A \Or A) \Imp (A \Or A) ⊃ \ldots \Imp A$.
\newcommand{\Ps}{P(\vec{s}\,)}
\newcommand{\Pt}{P(\vec{t}\;)}
\newcommand{\Pu}{P(\vec{u}\,)}
\newcommand{\Pv}{P(\vec{v}\,)}
To verify the internal integrity (soundness and completeness) of $\C$, we prove the standard
cut elimination and identity properties.
\begin{theorem}[Identity] For any $\Phi, \Gamma, A$, \[\CSeq{\Phi}{\Gamma, A}{A}\].\end{theorem}
\begin{proof}
Induction on $A$. Most cases are simple uses of the induction hypotheses. We
show some representative cases.
\begin{description}
\item[Case] $A = E$. By entailment rules id and $\And_2$, we have $\Phi\And E\models E$.
Therefore
\[
\infer[$E-L$]{\CSeq{\Phi}{\Gamma, E}{E}}{\infer[$E-R$]{\CSeq{\Phi\And E}{\Gamma}{E}}{\Phi\And E \models E}}
\]
\item[Case] $A = \Ps$. By entailment rules refl and vec, we have $\Phi\models \vec{s}\EEq\vec{s}$.
Therefore
\[
\infer[$init$]{\CSeq{\Phi}{\Gamma, \Ps}{\Ps}}{\Phi\models\vec{s}\EEq\vec{s}}
\]
\item[Case] $A = \All x.~B(x)$
\[
\infer[\All$-R$]{\CSeq{\Phi}{\Gamma, \All x.~B(x)}{\All x.~B(x)}}{\infer[\All$-L$]{\CSeq{\Phi}{\Gamma, \All x.~B(x)}{B(a)}}{\deduce{\CSeq{\Phi}{\Gamma, \All x.~B(x), B(a)}{B(a)}}{\D'}}}
\]
where $\D'$ exists by induction hypothesis.
\end{description}
\end{proof}
\begin{theorem}[Admissibility of Cut]\label{thm:cut-admissible}
The following rule is admissible:
\[
\infer-[cut]{\CSeq{\Phi}{\Gamma}{C}}{\CSeq{\Phi}{\Gamma}{A} & \CSeq{\Phi}{\Gamma, A}{C}}
\]
\end{theorem}
Following Pfenning~\cite{Pfenning.1995.LICS,Pfenning.2000.IC}, we use a structural cut elimination
argument. The proof requires the following lemmas describing some properties of the
entailment relation\footnote{Indeed, the proof of cut elimination largely determined the
minimal requirements of the entailment relation.}.
\iffalse
x = y => y = z => p(x) => p(z)
% []p => <> p @ w
⊧ W' ≥ w
==> W' ≥ w p(W') ==> p(W')
⊧ W' ≥ w W' ≥ w ⊃ p(W') ==> p(W')
(∀ w'. w' ≥ w ⊃ p(w')) ==> W' ≥ w (∀ w'. w' ≥ w ⊃ p(w')) ==> p(W')
(∀ w'. w' ≥ w ⊃ p(w')) ==> (W' ≥ w ∧ p(W'))
(∀ w'. w' ≥ w ⊃ p(w')) ==> (∃ w'. w' ≥ w ∧ p(w'))
(∀ w'. w' ≥ w ⊃ p(w')) ⊃ (∃ w'. w' ≥ w ∧ p(w'))
\fi
Simmons~\cite{Simmons.2014.TOCL} considerably simplified the proofs of
cut elimination and identity using a technique he calls
\emph{structural focalization}.
\section{The Inverse Method}
\cite{Mints.1994.CP}
\section{Applications}
Intuitionistic logic evidently holds compelling intellectual interest. But the
theorem proving problem is inherently a practical one; why should we care about
theorem proving in intuitionistic logic? One answer is that many problems of
practical interest can be encoded as logical formulas, and that we are
interested in the solutions to those problems. But that doesn't answer why we
would choose to search for proofs in intuitionistic logic, as opposed to
classical logic, where the tools are more developed and the problem is
technically easier. We think that the primary advantage of intuitionistic logic
over classical logic is in the content of the proofs produced by the search
process. The fastest classical theorem provers use resolution, which is a
refutation procedure that requires its input to be in clausal form. We will see
in later chapters that the proof terms generated in intuitionistic logic,
expressions in a simple functional programming language, are simply more
intelligible and useful to people than the traces of resolution steps (leading
to the empty set), generated by classical theorem provers. Indeed, it is
exactly this property of intuitionistic logic that makes Imogen an excellent
debugging tool for AWS developers, as we will see in Chapter~\ref{chapter-aws}.
In propositional logic, it's not easy to find compelling real-world
applications. The many standard examples of encoding problems in classical propositional
logic, for example model checking, circuit equivalence, mathematical encodings,
gain nothing from intuitionism, since the propositional variables tend to range
not over some abstract notion of ``Proposition'' but rather real \emph{Boolean}
true/false values. Indeed, a satisfying assignment is usually enough of a
certificate to verify the answer.
and the encoded problems tend to be so large
A toy application, reifying the Curry-Howard isomorphism, is the
Djinn library for Haskell~\cite{Djinn}. It generates Haskell expressions with a
given first-order type. This is exactly the theorem proving problem for IPL. A
more interesting application is in the (admittedly incestuous) support of proof
assistants based on intuitionistic type theory (e.g. Coq~\cite{Coq} and
Agda~\cite{Agda}). In proof assistants, users are frequently faced with proving
conclusions from sets of hypotheses. When the hypotheses and conclusion are
propositional, we can use Imogen to decide whether the conclusion follows from
the hypotheses without user effort. Since atomic terms in proof assistants are
almost never technically propositional, simple tricks like treating first-order
terms as propositional constants can make this technique more generally usable.
Coq has the built-in \texttt{tauto} tactic, based on Dyckhoff's LJT (described
below), for this purpose. Imogen would be a more powerful engine for this
tactic.
\section{Complexity}
IPL is PSPACE-complete~\cite{Statman.1979.TCS}. The first decision procedure in
PSPACE was $O(N^4)$ space~\cite{Ladner.1977.SJC}. Currently the best known
procedure uses $O(N\log(N))$ space~\cite{Hudelmaier.1993.JLC}.
Even with forward and backward subsumption, the inverse method uses exponential
space in the worst case. Recall that
$\Seq{\Gamma_1}{\gamma_1}\Subsumes\Seq{\Gamma_2}{\gamma_2}$ iff
$\Gamma_1\subseteq\Gamma_2$ and $\gamma_1\subseteq\gamma_2$. A formula of
size $N$ has at most $N$ labels, so for each sequent $\Seq{\Gamma}{\gamma}$ we
have $\Size{\Gamma} \leq N$. By Sperner's theorem~\cite{Sperner.1928.MZ},
there are at most $\binom{N}{\floor{\frac{N}{2}}}$ subsets of a set
of size $N$ none of which is a subset of another. The database size is
therefore bonded above by $N \binom{N}{\floor{\frac{N}{2}}}$ assuming any label
could appear as a consequent. (This is an over-approximation, since it is not
the case that every label can occur as a consequent.)
For a concrete formula that generates an exponential database, we can
choose a set of derived rules that makes $k$ consecutive choices that add
one of a pair of labels $p^0, p^1$ to the antecedents. This construction enumerates
all subsets of the set $\Set{1, \ldots, k}$ as antecedents in the database.
One such set of rules is
\[
\begin{array}{c}
\begin{array}{c@{\hskip 5em}c}
\infer{\Seq{p^0_1}{r_1}}{\Seq{}{r_0}}
&
\infer{\Seq{p^1_1}{r_1}}{\Seq{}{r_0}}
\end{array}
\\[5pt]
\vdots
\\[5pt]
\begin{array}{c@{\hskip 5em}c}
\infer{\Seq{p^0_k}{r_k}}{\Seq{}{r_{k-1}}}
&
\infer{\Seq{p^1_k}{r_k}}{\Seq{}{r_{k-1}}}
\end{array}
\end{array}
\]
\noindent After $k$ steps, we are left with sequents of the form
$\Seq{p_1^{i_1}, \ldots, p_k^{i_k}}{r_k}$ where $i_j\in\Set{0,1}$. None of these sequents subsume
each other, and there are $2^k$ such sequents.
Working backwards we can construct the formulas that generate these
rules. Below the $p_i^j$ and $r_0$ are atomic with positive polarity and the
$r_i$ for $i > 0$ have positive polarity as well and are defined as
\[r_i\,=\, \Down\Up r_{i-1} \AndP (p_i^0 \Or p_i^1)\]
\[
\begin{array}{c}
\begin{array}{c@{\hskip 5em}c}
\infer
{\Seq{p_i^0}{\BSet{\Down\Up r_i \AndP (p_i^0\Or p_i^1)}}}
{
\infer
{\Seq{}{\BSet{\Down\Up r_{i-1}}}}
{
\infer
{\Seq{}{\Up r_{i-1}}}
{\Seq{}{r_{i-1}}}
}
&
\infer
{\Seq{p_i^0}{\BSet{p_i^0\Or p_i^1}}}
{
\infer
{\Seq{p_i^0}{\BSet{p_i^0}}}
{}
}
}
&
\infer
{\Seq{p_i^1}{\BSet{\Down\Up r_{i-1} \AndP (p_i^0\Or p_i^1)}}}
{
\infer
{\Seq{}{\BSet{\Down\Up r_{i-1}}}}
{
\infer
{\Seq{}{\Up r_{i-1}}}
{\Seq{}{r_{i-1}}}
}
&
\infer
{\Seq{p_i^1}{\BSet{p_i^0\Or p_i^1}}}
{
\infer
{\Seq{p_i^1}{\BSet{p_i^1}}}
{}
}
}
\end{array}
\end{array}
\]
\noindent Dyckhoff calls this behavior, in the context of Mints' (unfocused)
resolution calculus~\cite{Mints.1988.CCL}
``regrettable''~\cite{Dyckhoff.2008.Oasis}. We maintain that focusing
attenuates this issue to some extent. For example, this exponential example,
when the shifts are removed, focuses into exponentially many sub-problems.
Operationally, this is essentially identical to how Hudelmaier's procedure would
decide the problem; namely exploring exponentially many linear paths,
using $O(N \log(N))$ space ($\log(N)$ to represent the labels).
Admittedly, even with focusing it is always possible to create a formula that
will behave badly with respect to space in the inverse method. For example, by
double-negating subformulas we get no benefit from the initial focusing phase;
recall that focusing on a double-negation $(\Down (A^+\Imp \Bot) \Imp \Bot$ on
the left immediately loses focus:
\iffalse
A⁺ ⊢ ⊥
-----------
⊢ A⁺ ⊃ ⊥
---------- ---------------
[⊥] ⊢ C ⊢ [↓ (A⁺ ⊃ ⊥)]
-----------------------
[↓ (A⁺ ⊃ ⊥) ⊃ ⊥] ⊢ C
\fi
\[
\infer
{\Seq{\BSet{\Down (A^+\Imp \Bot) \Imp \Bot}}{C}}
{
\infer{\Seq{\BSet{\Bot}}{C}}{}
&
\infer
{\Seq{}{\BSet{\Down(A^+ \Imp \Bot)}}}
{\infer
{\Seq{}{A^+ \Imp \Bot}}
{\Seq{A^+}{\Bot}}
}
}
\]
\noindent By double-negating the subformulas of the exponential formula above,
the initial focusing phase will not help, and we will still have a minimally
exponential space execution. As a practical matter, though, we don't find such
examples compelling. We haven't found any applications of
IPL, but while encoding problems in first-order intuitionistic logic,
we find negations are relatively rare, and double-negations are, well,
doubly-rare.
As we have seen, deciding random formulas is one place where negations occur
frequently, and the formulas are nearly always unprovable. Thus, we can still
use substitutions and other tricks to help Imogen compete with model-building
solvers. Unlike the logically motivated optimizations in polarity choice,
strategies like this are not logically very interesting, but ultimately
important in building a practically usable tool.
\section{History and Related Work}
\subsection{Intuitionistic Logic}
The study of intuitionistic logic began with
Brouwer~\cite{Brouwer.1907.Thesis} who was dissatisfied with the philosophical
foundations of (classical) mathematics. The formal proof theory was invented by
Gentzen~\cite{Gentzen.1935.MZ}. While classical and intuitionistic
logic are equi-consistent~\cite{Goedel.1933.EMK}, intuitionistic logic
is more expressive than classical logic, in the sense that classical logic can
be embedded in intuitionic logic~\cite{Glivenko.1929.BCS}. This
expressivity comes at a cost; deciding classical propositional logic is
NP-complete~\cite{Cook.1971.TOC}, while deciding intuitionistic propositional
logic is PSPACE-complete~\cite{Statman.1979.TCS}.
\subsection{Related Work}
There are numerous methods besides the inverse method for deciding
IPL\footnote{In this survey we do not mention any work in Hilbert systems or
natural deduction, since they tend to be unsuitable for proof search.}
The simplest, and the basis of many later methods is Dyckhoff's
LJT~\cite{Dyckhoff.1992.JSL} (the T stands for ``terminating''), discovered
independently by Vorobev~\cite{Vorobev.1958.AMST} and
Hudelmaier~\cite{Hudelmaier.1989.Thesis, Hudelmaier.1992.AML}.
In G3, the $\Imp$-L rule is the only problematic
rule with respect to backward search.
\[
\infer{\Seq{\Gamma, A\Imp B}{C}}{\Seq{\Gamma, A\Imp B}{A} & \Seq{\Gamma, B}{C}}
\]
\noindent
The first premise in general does not decrease in any obvious measure of size.
Thus, goal-directed search must account for infinite loops. Typically this is
done using loop-detection mechanisms, also called ``histories''. While it is
possible to implement loop-detection
efficiently~\cite{Gabbay.2000.GoalDirectedProofTheory, Howe.1997.Tableaux,
Heuerding.1996.Tableaux}, loop detection complicates both the theory and
implementation of deduction. The approach of LJT is to replace instances of
$A\Imp B$ on the left with simpler, but logically equivalent formulas, where an
inductive termination measure can be defined relatively easily. This has the
benefit of dropping the requirement for loop detection, at the expense of
maintaining the subformula property. In particular he replaces the $\Imp$-L
rule with four new rules:
\[
\begin{array}{cc}
\Infer[\Imp$-L$_1]
{\Seq{\Gamma,p\Imp A, p}{C}}
{\Seq{\Gamma, A, p}{C}}
&
\hspace{2em}
\Infer[\Imp$-L$_2]
{\Seq{\Gamma,(A_1\And A_2)\Imp A}{C}}
{\Seq{\Gamma, A_1\Imp (A_2\Imp A)}{C}}
\figline
\Infer[\Imp$-L$_3]
{\Seq{\Gamma,(A_1\Or A_2)\Imp A}{C}}
{\Seq{\Gamma, A_1\Imp A, A_2\Imp A}{C}}
&
\hspace{2em}
\Infer[\Imp$-L$_4]
{\Seq{\Gamma,(A_1\Imp A_2)\Imp A}{C}}
{\Seq{\Gamma, A_2\Imp A}{A_1\Imp A_2} & \Seq{\Gamma, A}{C}}
\end{array}
\]
\noindent
He shows that this ``contraction-free'' calculus is terminating, and does not
require loop checking. (Note that it does not satisfy the subformula property,
and is thus not naievly amenable to implementation via the inverse method.)
Implementations of the calculus LJT are~\cite{Dyckhoff.1997.LJT} and
\emph{Porgi}~\cite{Stoughton.1996.CADE}.
The main inefficiency of LJT is the duplication of subformulas in the new
rules. Even though there's no danger of looping, the procedure can still use
exponential space. Hudelmaier and others improved on LJT by using familiar
tricks to avoid duplicating formulae. For example, the $\Imp$-L$_3$ is replaced
with
\[
\Infer[\Imp$-L$_3']
{\Seq{\Gamma,(A_1\Or A_2)\Imp A}{C}}
{\Seq{\Gamma, A_1\Imp p, A_2\Imp p, p\Imp A}{C}}
\]
\noindent for a new atomic proposition $p$.
Why do we use formula occurrances? Proofs can be exponentially shorter
if we solve subformulas that occur multiple times only once. This should
be made clear.
\subsection{Focusing in IPL}
Following Andreoli's seminal paper on focusing in linear
logic~\cite{Andreoli.1992.JLC} there was a flurry of work in the area.
Herbelin~\cite{Herbelin.1994.CSL} defined the first focused calculus for
the implication fragment of LJ, also unfortunately named LJT.
\cite{Nigam.2008.IJCAR}
\subsection{Optimizations}
Simplification rules~\cite{Ferrari.2012.TCL, Franzen.1987.TR, Franzen.1989.TR}
\section{Future Work}
\subsection{Certificates of Unprovability}
\cite{Pinto.1995.SG}
\subsection{Multi-succedent calculus}
A multi-succedent calculus, now called G3ipm, was discovered by
Maehara~\cite{Maehara.1954.NMJ}. This more closely mimics Gentzen's classical
sequent calculus LK. Given the menagerie of equivalent calculi for
intuitionistic logic, we wouldn't bother to mention yet another one. However,
G3ipm has the interesting property that there exist theorems of IPL with
polynomial size proofs in G3ipm that are at best exponential in the
single-succedent calculi presented above~\cite{Egly.1999.FI}. G3ipm
additionally has the nice property that all rules except $\Imp-R$ are
invertible.
It would be interesting to see how an implementation of G3ipm compares with
Imogen's polarized inverse method. Besides the simplicity of a single
non-invertible rule, and a pleasing symmetry almost as pure as that of classical
logic, the implementation of a multi-succedent calculus would be much closer to
a classical implementation, and one could imagine a general theorem prover that
could handle both classical and intuitionistic logic with little change. We
conjecture that a naive implementation would still have more non-determinism
than the inverse method, though an interesting line of research would be to try
augment the G3ipm calculus with some non-determinism elimination strategy like
focusing.
\subsubsection{Optimizations}
\subsection*{Analytic cut and non-atomic initial sequents}
In the proof-theory literature, ``analytic'' tends to refer to the subformula
property. While the unrestricted cut rule makes proof search impracticable, the
use of a cut formula that is a subformula of the goal sequent may improve proof
search and proof size without substantially increasing complexity. This is
called the ``analytic cut''~\cite{Smullyan.1968.JSL}.
Both of these would be interesting to experiment with. However, since
our implementation is currently based on subformula occurrences, it is not
obvious how to incorporate analytic cuts or non-atomic initial sequents without
negative consequences for proof search.
For example, a formula may occur, say $2N$ times as a subformula as a goal
sequent. These occurrences have labels $l_1, \ldots, l_{2N}$. Now, what are
the non-atomic initial sequents corresponding to these labels? We would first
separate the labels that occur in right and left positions, say $l_1, \ldots,
l_N$ are left subformulas and $l_{N+1}, \ldots, l_{2N}$ are right subformulas.
Do we make all $N^2$ pairings initial sequents? And if not, how do we choose
which ones to use? A similar issue occurs in the case of analytic cut. Since
the cut formula must occur in both left and right positions in the goal formula,
there are again $N^2$ rule instances for each subformula.
We hypothesize that analytic cut and non-atomic initial sequents of ``small''
subformulas would make proof search worse, but that ``large'' subformulas
would possibly improve search. For example, in a random formula there are
generally
many occurrences of $\Not p$ for any atom $p$. This is probably not a good
candidate, since it will generate many initial sequents. Large subformulas,
though, would always have few occurrences, and would likely save many
deductions. An empirical analysis should be made.
\subsection*{Substitution and symmetry}
\section{TODO}
Using disproofs to prune search space, similar to Weich
% We begin in Section~\ref{prop.sec.def} by defining two related sequent calculi
% for IPL, $\LJ$ and $\LJF$. $\LJ$ is standard, equivalent to Gentzen's original
% LJ. $\LJF$ is related to $\LJ$, but is more suitable to forward reasoning in
% the inverse method. We conclude the section with a proof of soundness and
% completeness of $\LJF$ with respect to $\LJ$. Section~\ref{prop.sec.inverse}
% shows how to use the inverse method to turn $\LJF$ into a complete proof-search
% procedure. In the process, we will observe a number of inefficiences.
% Section~\ref{prop.sec.focus} defines focused calculi that correspond to $\LJ$.
%%% Local Variables:
%%% TeX-master: "thesis"
%%% End: