Professional Documents
Culture Documents
Diplomarbeit
der Philosophisch-naturwissenschaftlichen Fakultat
der Universitat Bern
vorgelegt von
J
urg Kr
ahenb
uhl
2006
Contents
1 Introduction
2 Systems of Arithmetic
2.1 Syntax . . . . . . . . . . . . . . . . . .
2.2 Principles and Theories . . . . . . . . .
2.2.1 Induction Principles . . . . . .
2.2.2 Primitive Recursive Arithmetic
2.3 Semantics . . . . . . . . . . . . . . . .
3 Preliminary Steps in Arithmetic
3.1 Function Symbols . . . . . . . .
3.1.1 Basic Functions . . . . .
3.1.2 Sequence Numbers . . .
3.2 Structural Properties . . . . . .
3.2.1 Properties in General . .
3.2.2 Properties for Theories .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6
. 6
. 9
. 9
. 10
. 10
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
13
13
13
15
16
16
17
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19
19
22
22
23
24
25
26
.
.
.
.
.
29
29
30
31
31
34
.
.
.
.
.
.
36
36
36
38
43
50
51
Mathematics
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6 Proof-Theoretic Analysis
6.1 Embeddings . . . . . . . . . . . . . . . . . . . . . . . . .
6.1.1 Embedding Arithmetic into Explicit Mathematics
6.1.2 Computation Sequences . . . . . . . . . . . . . .
6.1.3 Embedding Explicit Mathematics into Arithmetic
6.2 Provable Arithmetic Sentences . . . . . . . . . . . . . . .
6.3 Provably Total Functions . . . . . . . . . . . . . . . . . .
1
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7 Appendix
7.1 Primitive Recursive Functions .
7.2 Free Variables and Substitution
7.2.1 Arithmetic . . . . . . . .
7.2.2 Explicit Mathematics . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
54
54
54
54
56
Introduction
ET+ (T-IN ) PRA ET+ (T-IN )+ (J)+ (N)+ (<)+ ( S-C)+ (Pow )
+
+
+
ET+ (F-IN ) PA ET+ (F-IN )+ (J)+ (N)+ (<)+ ( S-C)+ (Pow )
In contrast to these results, we have the following classifications for EET
EET+ (F-IN )
(0 -CA)
EET+ (F-IN )+ (J) (0 -CA)<0
+
ET+ (F-IN )+ (J)+ (<)+ (Pow ). This shows that there is no need to restrict
comprehension to existential formulas as we are doing it in this thesis, hence
an interesting problem would be to give a proof-theoretic classification of Explicit Mathematics with positive (stratified) comprehension in combination
with various ontological principles.
It is worth mentioning the approach we take to tackle the main problem in
this thesis, i.e. embedding Explicit Mathematics into arithmetic with induction restricted to purely existential formulas. We follow the construction of
generated models based on computation sequences, similar to the positive
operator form for applicative theories in [5]. Instead of giving an operator
form, we explicitly state the underlying primitive recursive predicate. In
addition to the application function we also have to deal with the element
relation. The finite axiomatisation of type generators for comprehension in
[6] allows us to directly integrate these generators into the computation sequences. In this way we get one kind of unified computation sequences for
the application function and the element relation.
The structure of this document is mainly built around the proof-theoretic
method of embeddings. Of course we first need to introduce the two systems we want to compare, this is first order arithmetic and Explicit Mathematics (section 2 and 4). Next we have to become acquainted with these
two systems, i.e. we need to know some properties and concepts used to construct the embeddings (section 3 and 5). Finally we are ready to formulate
the embeddings and state the proof-theoretic equivalences (section 6).
Acknowledgment
I am deeply grateful to PD Dr. Thomas Strahm for his guidance in this thesis
and to Prof. Dr. Gerhard Jager for introducing me into the beautiful subject
of logic and computer science.
Bern, November 2006
J
urg Krahenb
uhl
Systems of Arithmetic
2.1
Syntax
[y/x]
(x)
8
(2)
[y/x]
(x)
(3)
2.2
Induction Principles
2.2.2
2.3
Semantics
The language of arithmetic defined above can be interpreted in many different ways. In the following we give a definition of what we mean by an
interpretation. Based on this definition we are able to further define what
it means for a statement in the language of arithmetic to be true (for all
interpretations) or to be a logical consequence of some theory.
Definition 2.19 (Structures of Arithmetic MA ). A structure M MA consists of the following:
(1) A domain M of numbers.
(2) A constant 0M M .
(3) For every function symbol f P rim a function f M , such that
f M : M n M for f P rimn .
10
t=0
0
M (t) := (t)
t VA
M
f (M (s0 ), . . . , M (sn )) t = f (s0 , . . . , sn )
(2) A mapping M : F A {t, f } such that:
M (s = t) = t
M () = t
M ( ) = t
M ( ) = t
M ((x)) = t
M ((x)) = t
M (s) = M (t)
M () = f
M () = t M () = t
M () = t M () = t
(m |M|)(M[x:m] () = t)
(m |M|)(M[x:m] () = t)
:
:
:
:
:
:
:
:
:
:
( VM )(M () = t)
( T )(M |= )
(M MA )(M |= T M |= )
( S)(T |= )
11
T `
12
Having defined the language of arithmetic and the concept of a formal proof,
we now give some useful examples of provable statements. In this way we
are building a collection of frequently used tools.
3.1
Function Symbols
There are a lot of useful primitive recursive functions contained in the language of arithmetic. We name some common functions and show that their
expected properties are provable in PRA.
3.1.1
Basic Functions
(1) PRA ` (x y) = 0 (x = 0 y = 0)
.
(2) PRA ` (x y) = 0 (x = 0 y = 0)
Definition 3.3 (Ordering). Let P P rim1 and Ch P rim2 be function
symbols such that PRA proves:
(1) P (0) = 0
(2) P (S(x)) = x
(3) Ch (0, y) = y
(4) Ch (S(x), y) = P (Ch (x, y))
13
(1) PRA ` (x = y) = 0 x = y
.
k+1
(4) Ak+1
n (f )(x0 , . . . , xn1 , S(xn ), xn+1 , . . . , xk ) = An (f )(x0 , . . . , xk )f (x0 , . . . , xk )
.
3.1.2
Sequence Numbers
We usually write xy for Cat3 (P roj)(|y|, y, x) and f (~x) for Catk+2 (f )(~x, hi).
Lemma 3.15.
(1) PRA ` |x hyi| = S(|x|)
(2) PRA ` |x y| |x| |x y| |y|
(3) PRA ` i < |x| (j)(j < |x y| (x)i = (x y)j )
(4) PRA ` i < |y| (j)(j < |x y| (y)i = (x y)j )
Lemma 3.16.
(1) PRA ` |f (x, ~y )| = x
(2) PRA ` i < x (f (x, ~y ))i = f (i, ~y )
Lemma 3.17.
PRA ` |x| = n (x = hi x x = h(x)0 , . . . , (x)n1 i)
This lemma shows that x = hi x is a predicate for the sequence numbers.
3.2
Structural Properties
Properties in General
T ` (x)
16
17
Theorem 3.25 (Term Extraction). Let QF and PRA ` (x), then there
exists a term t T A such that
(1) PRA ` [t/x]
(2) F VA (t) = F VA ()\{x}
Proof. See for example [9] for this intricate result.
Corollary 3.26. Let QF and PRA ` (x0 ) . . . (xn ), then there exists
a term t T A such that
(1) PRA ` [(t)0 /x0 , . . . , (t)n /xn ]
(2) F VA (t) = F VA ()\{x0 , . . . , xn }
Proof. Using (3.24).
Theorem 3.27 (Parsons Theorem). Let 1 then
+
PRA `
PRA `
18
+
and numbers BON and the explicit type theories ET and EET . We will
formulate these systems in the logic of partial terms (due to Beeson [1])
similar to [5], [6].
4.1
Syntax
For (s, t) we write (st) or simply st and we use association to the left, that
is s0 s1 . . . sn and s0 s1 . . . sn stand for (. . . (s0 s1 ) . . . sn ).
Definition 4.3 (Atomic Formulas F0E ).
s, t T E , X VT = (s, t), (t), N(t), (t, X), <(t, X) F0E
For = (s, t), (t), N(t), (t, X) we usually write s = t, t, tN, tX respectively.
Definition 4.4 (Formulas F E ). Formulas are denoted by , , (possibly
with subscripts).
(1) F0E F E
(2) , F E , ( ), ( ) F E
(3) F E , x VI , X VT (x), (x), (X), (X) F E
We use the shorthand notations and for formulas in F E
analogous to definition (2.5). For (x0 ) . . . (xn ) and (X0 ) . . . (Xn ) we
~ respectively. The same notation we use for .
also write (~x) and (X)
Definition 4.5 (Free Variables and Substitution). The set of free individual
variables of a term t we denote by F VI (t) (or F VI () for a formula ), see
(7.5). The set of free type variables of a formula we denote by F VT (),
see (7.6). The simultaneous substitution of terms t0 , . . . , tn for individual
variables x0 , . . . , xn in a term s we denote by s[t0 /x0 , . . . , tn /xn ] and s[~t/~x] (or
[t0 /x0 , . . . , tn /xn ] and [~t/~x] for a formula ), see (7.7). The simultaneous
substitution of type variables Y0 , . . . , Yn for type variables X0 , . . . , Xn in a
~ see (7.8). Further
formula we denote by [Y0 /X0 , . . . , Yn /Xn ] and [Y~ /X],
we denote by F T (x, ) the set of terms t such that no variable z in F VI (t)
is in the scope of a quantifier (z) or (z) in case x is replaced by t in
(analogously with F T (X, ) for type variables), see (7.9)+(7.10).
Definition 4.6 (Closed Terms, Sentences). A term t T E is closed if
F VI (t) = {}, analogous a formula F E is closed if F VI () = {}. Closed
formulas are usually called sentences.
Definition 4.7 (Propositional Axioms AEP rop ). We define AEP rop F E analogous to AAP rop in (2.8).
Definition 4.8 (Equality Axioms AEEqual ). For all atomic formulas F0E
and variables z, x0 , . . . , xn , y0 , . . . , yn VI the following formulas are in
AEEqual :
20
(1) z = z
(2) x0 = y0 . . . xn = yn [~y /~x]
Definition 4.9 (Quantifier Axioms AEQuant ). For all formulas F E , for all
variables x VI and terms t F T (x, ) and for all variables X VT and
Y F T (X, ) the following formulas are in AEQuant :
(1) [t/x] t (x)
(2) (x) t [t/x]
(3) [Y /X] (X)
(4) (X) [Y /X]
Definition 4.10 (Definedness Axioms AEDef ). For all variables and constants
r VI C E , for all atomic formulas F0E , for all variables x0 , . . . , xn VI
such that xi F VI () and for all terms s, t, t0 , . . . , tn T E the following
formulas are in AEDef :
(1) r
(2) (st) s t
(3) [~t/~x] t0 . . . tn
Definition 4.11 (Rules of Inference RE ). For all formulas , F E , for
all variables x, y VI such that y F T (x, )\ F VI () and for all variables
X VT and Y F T (X, )\ F VT () the following rules are in RE :
(1)
[y/x]
(x)
(2)
[y/x]
(x)
(3)
[Y /X]
(X)
(4)
[Y /X]
(X)
(5)
21
4.2
The theory of basic operations and numbers BON consists of axioms for a
partial combinatory algebra, pairing and projection, natural numbers with
successor and predecessor, and definition by numerical cases.
Definition 4.13 (Abbreviations). We use the following shorthand notations:
s 6= t
s't
hs0 , . . . , sn i
(xN)
(xN)
:=
:=
:=
:=
:=
s = t s t
(s t) s = t
(phs0 , . . . , sn1 isn ) [hs0 i := s0 ]
(x)(xN )
(x)(xN )
[i 6= j xi 6= xj ]
Definition 4.14 (Basic Operations and Numbers BON ). For all individual
(1) (kx)y = x
(2) sxy (sxy)z ' (xz)(yz)
(3) p0 hx, yi = x p1 hx, yi = y
(4) 0N sN (NN)
(5) (xN)(sN x 6= 0 pN (sN x) = x)
(6) (xN)(x 6= 0 pN xN sN (pN x) = x)
(7) xN yN x = y (dN uv)xy = u
(8) xN yN x 6= y (dN uv)xy = v
4.2.2
Explicit Types
The non-logical axioms for explicit type theories consist of axioms for the
naming relation and the axioms for type generators (name generators). The
first is stating that every type has a name and names behave well (no
homonyms), the latter guarantees the existence of particular types and the
uniform creation of their names.
Definition 4.15 (Abbreviations). We use the following shorthand notations:
X Y := (x)(xX xY )
X = Y := (x)(xX xY )
~ := <(t0 , X0 ) . . . <(tn , Xn )
<(~t, X)
<(t) := (X)<(t, X)
.
st := (X)(<(t, X) sX)
Definition 4.16 (Representation Axioms ARep ). For all individual variables
x VI and for all type variables X, Y VT the following formulas are in
ARep :
(1) (x)<(x, X)
(2) <(x, X) <(x, Y ) X = Y
(3) X = Y <(x, X) <(x, Y )
23
<(a) (xa)<(f
x) <(jha, f i)
.
.
.
(x)[xjha, f i (y)(z)(x = hy, zi y a z f y)]
Induction Principles
In (5.8) and (5.10) we see that the following induction principles are ordered
by their strength, formula induction of course being the strongest form.
Definition 4.20 (Set Induction S-IN ). For all individual variables x, f VI
the following formula is in S-IN :
f (NN) f 0 = 0 (xN)(f x = 0 f (sN x) = 0) (xN)(f x = 0)
Definition 4.21 (Value Induction V-IN ). For all individual variables x, f
VI the following formula is in V-IN :
f 0N (xN)(f xN f (sN x)N) f (NN)
Definition 4.22 (Type Induction T-IN ). For all individual variables x VI
and type variables X VT the following formula is in T-IN :
24
Ontological Principles
Definition 4.24 (All Individuals are Names of Types <). For all individual
variables x VI the formula (x)<(x) is in <.
Definition 4.25 (All Individuals are Numbers N). For all individual variables x VI the formula (x)N(x) is in N.
Definition 4.26 (Uniform Comprehension). Let X be a subset of F E then
for all formulas X the following formula with {X0 , . . . , Xn } := F VT ()
and {y0 , . . . , ym } := F VI ()\{z} is in X -C:
~ <(~x, X)
~
(f )(~x)(~y )(X)[
.
<(f x0 . . . xn y0 . . . ym ) (z)(z f x0 . . . xn y0 . . . ym ) ]
Similar to the generator axioms this formula is also stating the existence of
a generator, but now for arbitrary X .
Definition 4.27 (Abbreviations).
Ext(X) :=(a)(b)[(Z)(<(a, Z) <(b, Z)) (aX bX)]
Definition 4.28 (Weak Power Types Pow ). For all type variables X, Y VT
Definition 4.29 (Strong Power Types Pow ). For all type variables X, Y
+
+
VT the formulas of the form (Y )(X)P ow (X, Y ) are in Pow .
25
4.3
Semantics
t CE
t
M (t) := (t)
t VI
M
M (r) M (s) t = (rs)
26
M (s) = M (t) 6=
M (t) 6=
NM (M (t))
M (t) (X)
<M (M (t), (X))
M () = f
M () = t M () = t
M () = t M () = t
(m |M|I )(M[x:m] () = t)
(m |M|I )(M[x:m] () = t)
(S |M|T )(M[X:S] () = t)
(S |M|T )(M[X:S] () = t)
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
( VM )(M () = t)
( T )(M |= )
(M ME )(M |= T M |= )
( S)(T |= )
T `
(3.10)
(3.9)
(6.13)
NM := N
<M := {(m, Tn ) | Tm = Tn }
For the structure M we have by the embedding theorem (6.28) (i.e. by the
+
particular embedding 6.22 we used for proving it) that: (see 5.11 for S)
+
28
5.1
Applicative Theory
We define -abstraction on terms and show that it has the desired properties.
We then use -abstraction to prove the existence of a fixed point operator in
the combinatory algebra. Further we use this fixed point operator to prove
some basic facts, e.g. primitive recursion in the theory BON + (V-IN ).
Definition 5.1 ( : VI T E T E ).
t=x
skk
(x, t) := s(x, t1 )(x, t2 ) t = t1 t2
kt
otherwise
We usually write x.t for (x, t) and x0 . . . xn .t or ~x.t for x0 .(. . . xn .(t) . . .).
Lemma 5.2.
F VI (x.t) = F VI (t)\{x}
Theorem 5.3 (-Abstraction).
Theorem 5.5 (Fixed Point). There exists a closed term fix T E such that
(2) BON
+ (V-I
N) `
Proof.
(1) Let t := hx.(dN (z.a)(z.f (pN x)(h(pN x)))x0)0 and rec := (f a.fixt).
(2) By (1) and using value induction (V-IN ).
BON ` (notN N)
Proof. Let t := (xy.dN (sN 0)0(xy)0) and notN := fixt0
Lemma 5.8.
BON
+ (V-I
N) `
S-IN
BON ` y = 0 yN syN
5.2
First we show how to reduce value induction (V-IN ) to type induction (T-IN ).
Next we use the generator axioms to get type comprehension for a whole
class of formulas. Using disjoint union (J) under certain conditions we even
get comprehension for formulas containing type quantifiers. This section
also contains two inconsistency results about ontological principles. Finally
we state the refutation of strong power types by Cantini and Minari [2] in
the context of our positive result about weak power types in the theory
+
ET+ (<).
30
5.2.1
Induction
Lemma 5.9.
.
Comprehension
+
, E, x VI ( ), ( ), (x) E
(4) S (Stratified Formulas)
, S, x VI , X VT
, ( ), ( ), (x), (x), (X), (X) S
31
, S, x VI , X VT ( ), ( ), (x), (X) S
+
(3)
~ <(,x ) (x)(x
E EET ` <(~z, X)
,x )
Proof. By induction on .
Theorem 5.16 (Elementary Comprehension).
+
(1) ET ` E-C
32
(1) E
~ <(e, Y ) ( )
(2) ET+ (j)+ (<) ` <(~z, X)
+
.
+
~ <(t) (x)(xt
(3) ET+ (j)+ (<) ` <(~z, X)
)
Proof.
33
by (5.15)
by (5.9)
by (5.18)
.
+
also have ET+ (j)+ (<) ` <(e) and finally get EET + (j)+ (<) ` by
rules of inference and an instance of AEQuant .
5.2.3
Power Types
Theorem 5.23.
Proof.
(1) Let := ((z)x = conhy, zi) then we prove:
35
Proof-Theoretic Analysis
In this last section we are going to relate systems of first order arithmetic
to systems of Explicit Mathematics. The relation we exhibit is based on the
formal concept of proofs, that is we compare the proofs of the two systems.
We take the following two standard approaches:
(1) Arithmetic statements (formulas) are translated into the systems of
Explicit Mathematics. The translation is such that the statements
still have the same arithmetic meaning but now in the language of
Explicit Mathematics. We are then able to compare the two systems
by comparing the sets of provable arithmetic statements.
(2) We first define what it means for a function f : N N to be definable in
the two systems. Now we can ask if a definable function is recognized
as being total within the system, i.e. if the system is able to prove
totality of the function. The two systems are then compared by their
sets of provably total functions.
6.1
Embeddings
[0 := 0]
sN
x1 . . . xn .i
N
f := x1 . . . xn .xi+1
x . . . x .rec(g N x . . . x )(hN x . . . x )
1
n
1
n
1
n
Definition 6.3 (.N : T A T E ).
(1) 0N := 0
36
f
f
f
f
f
=S
= Csni
= P rni
= Compn (h, g1 , . . . , gm )
= Recn+1 (h, g)
N :=
x0 N N . . . xn N N
F VA () = {}
F VA () = {x0 , . . . , xn }
(1) BON ` N
BON + (V-IN ) ` N
BON + (F-IN ) ` N
Computation Sequences
For the embedding of Explicit Mathematics into arithmetic we need to translate the application operation (xy = z) and the element relation (xY ). Inspired by the operator form in [5] we will find a primitive recursive function
leading to a suitable notion of computation sequence.
Definition 6.10 (. : C E VI VT T A ). For every r C E \{0} we fix a
number nr > 4 and we define r := (nr , 0) and 0 := 0. For every r VI VT
we fix a variable xr VA and we define r := xr . The choice of numbers and
variables is such that r = s r = s holds and for VA := {
r | r VI VT }
38
.
(2) F2 (x) = x = hhk, (x)2 i, (x)1 , (x)2 i
.
(x)1 i
(16) F16 (x) = x = hnat,
.
h(x)1,0 , (x)1,0 ii
(17) F17 (x) = x = hid,
.
39
G1 (x, y, z) = 0 H1 (|z|, x, y, z)
.
0 1 H3 (|z|, |z|, x, y, z)
.
0 H4 (|z|, x, y, z)
.
(5)
.
(x)0,1 i, (x)1 i) .
G5 (x, y, z) = (x = hhdom,
.
0 H5 (|z|, x, y, z)
H5 (i, x, y, z) = H1 (i, h(x)0,1 , h(x)1 , (z)i,1,1 ii, y, z)
(6)
.
.
(x)0,1 , (x)0,2 i, (x)1 i)
G6 (x, y, z) = (x = hhinv,
.
0 1 H6 (|z|, |z|, x, y, z)
.
.
G7 (x, y, z) = (x = hhj, (x)0,1 , (x)0,2 i, h(x)1,0 , (x)1,1 ii)
.
41
Lemma 6.14.
(1) PRA ` H1 (i, x, H(u, z), z) = 0 [(H(u, z))i = 0 (z)i = x]
(2) PRA ` [(H(u, z))i = 0 (H(u, z))j = 0 (z)i,0 = (z)j,0 (z)i,1 = (z)j,1 ]
(z)i,2 = (z)j,2
Proof.
(1) By definition of H1 .
(2) (sketchy, informal) Let f , g P rim be function symbols such that
PRA proves:
.
Lemma 6.15.
PRA ` Com(hu, x, yi, w) = 0 Com(hu, x, zi, w) = 0 y = z
Proof. Because of (3.8) we have
PRA ` Com(hu, x, vi, w) = 0
(k)(k < |w| H1 (k, hu, x, vi, H(|w|, w), w) = 0)
From (6.14) we get
PRA ` H1 (i, hu, x, yi, H(|w|, w), w) = 0
H1 (j, hu, x, zi, H(|w|, w), w) = 0 y = z
Extending the left side of this implication with (i < |w|j < |w|) and applying
twice the -rule of inference (in RA ) we get the desired proof.
42
Lemma 6.16.
PRA ` Com(x, z) = 0 Com(x, y z) = 0 Com(x, z y) = 0
Proof. (sketchy) First we prove
PRA ` u v G1 (x, H(v, z), z) = 0 G1 (x, H(u, z), z) = 0
Next we show by induction on u using (3.15) that
PRA ` G1 (x, H(u, z), z) = 0 G1 (x, H(u, y z), y z) = 0
Putting the pieces together knowing by (3.15) that |y z| |z| we get
PRA ` Com(x, z) = 0 Com(x, y z) = 0
Analogous for z y instead of y z.
6.1.3
Definition 6.17 ( : VA 3 F A , : VA 2 F A ).
(1) (u, x, y) := (z)Com(hu, x, yi, z) = 0
(2) (x, y) := (z)Com(hy, xi, z) = 0
Where the variable z VA \VA is different from x, y, u VA .
Lemma 6.18.
PRA ` (u, x, y) (u, x, z) y = z
Proof. From (6.16) we get
PRA ` Com(hu, x, yi, v) = 0 Com(hu, x, zi, w) = 0
Com(hu, x, yi, v w) = 0 Com(hu, x, zi, v w) = 0
Using this in conjunction with (6.15) we get
PRA ` Com(hu, x, yi, v) = 0 Com(hu, x, zi, w) = 0 y = z
Applying twice the -rule of inference (in RA ) we get the desired proof.
Definition 6.19 ( : T E VA F A ).
(1) t C E VI (t, x) := t= x
43
Proof. By induction on .
Lemma 6.24. For all variables U , V , X0 , . . . , Xn , Y0 , . . . , Yn VT and
all formulas F E such that Yi F T (Xi , ) we have that all statements
analogous to (6.23) hold.
Lemma 6.25. For all terms s, t T E such that y F TA (
x, (s, z)) we have
z 6= x
Proof. By induction on s.
Lemma 6.26. For all formulas F E such that y F TA (
x, ? ) we have
PRA ` (t, y) ([t/x]? ? [y/
x])
Proof. By induction on .
Lemma 6.27.
(1) PRA ` (xN)?
(2) PRA ` ((xN))? (
x)?
(3) PRA ` <(x)?
.
(4) (xy) =
(X)[(u)(
y = u (w)((w, u) (w, X)))
(v)(
x = v (v, X))]
.
?
(
is provable
hence (xy) (X)[(w)((w,
y) (w, X))
x, X)]
.
?
in PRA and finally PRA ` (xy) (
x, y).
(5) (xy = z)? = (u)[(v1 )(v2 )(
x = v1 y = v2 (v1 , v2 , u)) z = u)]
45
For all F E and for T = ET+ (J)+ (<)+ (N)+ ( S-C)+ (Pow ) we have:
(1) T + (F-IN ) `
PA ` ?
(2) T + (T-IN ) `
PRA ` ?
(1) ET
(a) AEP rop ? AAP rop
(b) AEEqual
= (x = x).
? = (y)(
x = y x = y) hence ` ? .
= (x0 = y0 . . . xn = yn [~y /~x]) with F0E .
Let = (x0 = y0 . . . xn = yn ) then
` ? (x0 = y0 . . . xn = yn ). We have
` x0 = y0 . . . xn = yn ? ? [~y/~x] by (3.18), hence
` x0 = y0 . . . xn = yn ? [~y /~x]? by (6.23). Finally we
get ` ? ( ? [~y /~x]? ) and hence ` ? .
(c) AEQuant
= ([t/x] t (x)).
Let y VA be such that y 6 F VA (([t/x] (x))? ) and
y F TA (
x, ? ) then by (6.26) we have
PRA ` (t, y) ([t/x]? ? [y/
x]).
But ( ? [y/
x] (
x) ? ) AAQuant hence
PRA ` (t, y) ([t/x]? (
x) ? ). Now we can apply the
?
-rule in RA to get PRA ` t ([t/x]? (
x) ? ) and
finally PRA ` ? .
= ((x) t [t/x]), similar to the previous case.
([Y /X] (X))? AAQuant
((X) [Y /X])? AAQuant
(d) AEDef
= r with r VI C E , then ? = ((x)
r = x) hence ` ?
46
= ((st) s t) Suppose that x, y, z are different variables in VA \VA . We have that (s, x) (x)(s, x)
and (t, y) (y)(t, y) are in AAQuant , hence we can prove
` (s, x)(t, y)(x, y, z) s? t? . Threefold application
of the -rule in RA yields ` ? .
= ([~t/~x] t0 . . . tn ) with F0E , similar to the
previous case.
(e) BON
PRA ` Com(h
x, z, v1 i, w) Com(h
y , z, v2 i, w)
Com(hv1 , v2 , v3 i, w) Com(t, w hti) hence
PRA ` Com(h
x, z, v1 i, w1 ) Com(h
y , z, v2 i, w2 )
(h
Com(hv1 , v2 , v3 i, w3 )
s, x, yi, z, v3 ). We have
PRA ` ((xz)(yz), v3 )
(v1 )(v2 )[(w1 )Com(h
x, z, v1 i, w1 )
(w2 )Com(h
y , z, v2 i, w2 )
(w3 )Com(hv1 , v2 , v3 i, w3 )] hence
PRA ` ((xz)(yz), v3 ) (hs, x, yi, z, v3 ). Now because
PRA ` ((sxy, v1 ) (z, v2 ))[hs, x, yi/v1 , z/v2 ] we get
PRA ` ((xz)(yz), v3 ) ((sxy)z, v3 ).
The next few cases are omitted, but can be proved similar to
the previous ones:
= (p0 hx, yi = x p1 hx, yi = y)
= (0N sN (NN))
= ((xN)(sN x 6= 0 pN (sN x) = x))
= ((xN)(x 6= 0 pN xN sN (pN x) = x))
= (xN yN x = y (dN uv)xy = u)
= (xN yN x 6= y (dN uv)xy = v)
(f) ARep
= (x)<(x, X).
then
Let := (x, z) (y)((y, z) (y, X))
([X/
x])[X/z] (z)([X/
x]) and
((z))[X/
x] (
x)(z) are in AAQuant , hence from
=X
(y)((y, X)
(y, X))
we get ` ? .
`X
= (<(x, X) <(x, Y ) X = Y ).
We have ` <(x, U )? (y)((y, x) (y, U )) and
(y, Y )), hence from
` (X = Y )? (y)((y, X)
= (<(a) <(b)
.
.
.
<(conha, bi) (x)(xconha, bi xa xb))
= (<(a) <(b)
.
.
.
<(disha, bi) (x)(xdisha, bi xa xb))
.
.
= (<(a) <(domhai) (x)(xdomhai (y)hx, yia))
.
.
= (<(a) <(invha, f i) (x)(xinvha, f i f xa))
(2) J
.
:= (
x, X)[0/
x](
x)((
x, X)
x, X)[S(
x)/
x]) (
x) (
x, X).
+
But 1 -Ind hence PRA ` ? .
49
We have
and
Hence from
and
we get
([y/x] )? = [y/x]? ?
` [y/x]? ? [
y /
x].
T 0 ` ([y/x] )?
` ([y/x]? ? ) (? [
y /
x] ? )
y /
x] ? .
T 0 ` ? [
6.2
T + (F-IN ) ` N
(2) The provable arithmetic 2 -sentences of T + (T-IN ) and PRA are exactly
the same, that is for closed 2 we have
PRA `
T + (T-IN ) ` N
Proof.
(1) We have by (6.9) and (5.10), and we get the other direction by (6.28)
and (6.30).
+
6.3
(z different from x, y)
Proof. First we show that all F P RIM1 are provably total in PRA. If
F P RIM1 then there is an f P rim1 such that F = [[f ]]. We define
:= (f (x) = y) and show for this 1 the properties in (6.32):
(1) We have ` [f (x)/y] by (3.20). From ([f (x)/y] (y)) AAQuant
we get ` (y) and we finally arrive at ` (x)(y) by (3.19) .
(2) We can derive ` (f (x) = y f (x) = z f (x) = f (x) y = z) from
AAEqual , hence from ` f (x) = f (x) (f (x) = y f (x) = z y = z)
and ` f (x) = f (x) we deduce ` [z/y] y = z.
(3) For arbitrary n N we have PRA ` f (n) = [[f ]](n) by (3.21), and because [[f ]](n) = F (n) this is the same as PRA ` [n/x, F (n)/y].
Suppose we have F : N N and = (z) 1 satisfying (6.32). Now
we need to show F P RIM1 . Because of PRA ` (x)(y)(z) we also
have that PRA ` (y)(z), hence by (3.26) there is a term t T A such
that PRA ` [(t)0 /y, (t)1 /z]. By (3.23) there is a function symbol f P rim1
such that PRA ` (t)0 = f (x), hence PRA ` [f (x)/y] by (3.18). For arbitrary
n N we have PRA ` [f (x)/y][n/x], hence PRA ` [n/x, f (n)/y]. By (3.21)
and (3.18) we get PRA ` [n/x, [[f ]](n)/y], and using (6.32)(3)+(2) yields
PRA ` [[f ]](n) = F (n), hence (n N) [[f ]](n) = F (n) and finally F = [[f ]]
P RIM1 .
Definition 6.34 (Provably total functions of T F E ). A function F : N N
is provably total in T F E if there exists a closed term t T E such that the
following holds:
(1) T ` t(NN)
(2) (n N) T ` tn = F (n)
Theorem 6.35.
+
+
+
Let T F E such that ET T ET+ (J)+ (<)+ (N)+ ( S-C)+ (Pow )
then the provably total functions of T + (T-IN ) and PRA are exactly the same.
Proof. Because of (6.7) we have that all functions in P RIM1 are provably
52
53
7
7.1
Appendix
Primitive Recursive Functions
7.2
7.2.1
t=0
{}
(1) F VA (t) := {t}
t VA
S
in F VA (si ) t = f (s0 , . . . , sn )
(2) F VA (s = t) := F VA (s) F VA (t)
(3) F VA () := F VA ()
(4) F VA ( ) := F VA ( ) := F VA () F VA ()
(5) F VA ((x)) := F VA ((x)) := F VA ()\{x}
54
y = xi
(i)y 6= xi
y = xi
(i)y 6= xi
55
7.2.2
Explicit Mathematics
in
F VI (ti )
y = xi
(i)y 6= xi
y = xi
(i)y 6= xi
Z = Xi
(i)Z 6= Xi
Z = Xi
(i)Z 6= Xi
58
References
[1] Michael Beeson. Foundations of Constructive Mathematics. Springer,
1985.
[2] Andrea Cantini and Pierluigi Minari. Uniform inseparability in explicit
mathematics. Journal of Symbolic Logic, 64(1):313326, 1999.
[3] Solomon Feferman. A language and axioms for explicit mathematics.
Lecture Notes in Mathematics, 450:87139, 1975.
[4] Solomon Feferman. Constructive theories of functions and classes. In
D. van Dalen M. Boffa and K. McAloon, editors, Logic Colloquium 78,
pages 159224. North-Holland Publishing Company, 1979.
[5] Solomon Feferman and Gerhard Jager. Systems of explicit mathematics
with non-constructive -operator, Part I. Annals of Pure and Applied
Logic, 65:243263, 1993.
[6] Solomon Feferman and Gerhard Jager. Systems of explicit mathematics
with non-constructive -operator, Part II. Annals of Pure and Applied
Logic, 79:3752, 1996.
[7] David Jansen. Zu den Potenztypen in Expliziter Mathematik. Masters
thesis, Universitat Bern, 1997.
[8] Pierluigi Minari. Theories of types and names with positive stratified
comprehension. Studia Logica, 62:215242, 1999.
[9] Wilfried Sieg. Herbrand analyses. Archive for Mathematical Logic,
30:409441, 1991.
[10] A. S. Troelstra and D. van Dalen. Constructivism in Mathematics: An
Introduction, volume 121 of Studies in Logic and the Foundations of
Mathematics. North-Holland, 1988.
59
Index
.
. n , 14 (3.7)
n , 14 (3.7)
hx0 , . . . , xn i, 15 (3.10)
, 15 (3.14)
f. , 15 (3.14)
, 23 (4.15)
,x , 32 (5.14)
, 32 (5.14)
, 32 (5.13)
, 33 (5.19)
(, X), 33 (5.19)
x.t, 29 (5.1)
N, 25 (4.25)
<, 25 (4.24)
+
S, 31 (5.11)
+
E, 31 (5.11)
T ` , 22 (4.12)
[u:m], 26 (4.31)
M , 26 (4.30)
cM , 26 (4.30)
M , 26 (4.30)
+
ET, 24 (4.19)
x, 38 (6.10)
+
E-C, 25 (4.26)
|x|, 15 (3.11)
(x)y0 ,...,yn , 15 (3.11)
.
,
13 (3.1)
.
, 13 (3.1)
.
=, 14 (3.5)
.
, 14 (3.5)
.
=,
13 (3.3)
.
, 13 (3.3)
.
6=, 13 (3.3)
, 13 (3.3)
< , 13 (3.3)
2 , 9 (2.13)
1 , 9 (2.13)
1 -Ind, 9 (2.14)
T ` , 9 (2.12)
[u:m], 11 (2.20)
0M , 10 (2.19)
f M , 10 (2.19)
[[f ]], 54 (7.1)
, 15 (3.9)
0 , 15 (3.9)
1 , 15 (3.9)
[~t/~x], 56 (7.7)
~ 57 (7.8)
[Y~ /X],
AEDef , 21 (4.10)
AEEqual , 20 (4.8)
AEP rop , 20 (4.7)
AEQuant , 21 (4.9)
ARep , 23 (4.16)
AE , 24 (4.17)
A+E , 24 (4.17)
AAEqual , 8 (2.9)
AAP rim , 10 (2.16)
AAP rop , 8 (2.8)
AAQuant , 8 (2.10)
And, 13 (3.1)
BON , 22
(4.14)
C E , 19 (4.1)
Ch= , 14 (3.5)
Ch , 13 (3.3)
dN , 22
(4.14)
e, 33 (5.17)
E, 31 (5.11)
E-C, 25 (4.26)
EET , 24 (4.19)
Ext, 25 (4.27)
F-IN , 25 (4.23)
F0E , 20 (4.3)
60
F E , 20 (4.4)
F A , 7 (2.4)
F -Ind, 9 (2.14)
fix, 30 (5.5)
F TI , 58 (7.9)
F TT , 58 (7.10)
F T , 58 (7.9)
F TA , 55 (7.4)
F VI , 56 (7.5)
F VT , 56 (7.6)
F VA , 54 (7.2)
IA , 26 (4.32)
IE , 11 (2.21)
Ins, 15 (3.10)
Iter, 15 (3.11)
J, 24
(4.18)
k, 22
(4.14)
M, 26 (4.30)
M, 10 (2.19)
MA , 10 (2.19)
ME , 26 (4.30)
M , 11 (2.21)
M , 26 (4.32)
N, 22 (4.14)
NM , 26 (4.30)
N eg, 14 (3.5)
notN , 30 (5.7)
Or, 13
(3.1)
p0 , 22 (4.14)
p1 , 22 (4.14)
p, 22 (4.14)
P , 13 (3.3)
PA, 10 (2.18)
pN , 22 (4.14)
+
P ow , 25 (4.27)
P ow , 25 (4.27)
Pow , 25 (4.29)
Pow , 25 (4.28)
+
PRA , 10 (2.18)
PRA, 10 (2.17)
P RIM , 54 (7.1)
P rim, 6 (2.1)
P roj, 15 (3.11)
QF , 9 (2.13)
QF -Ind, 9 (2.14)
~ 23 (4.15)
<(~t, X),
RE , 21 (4.11)
<M , 26 (4.30)
RA , 8 (2.11)
rec, 30 (5.6)
S-IN , 24 (4.20)
s, 22 (4.14)
S, 31 (5.11)
S E , 19 (4.1)
S A , 6 (2.2)
sN , 22 (4.14)
T-IN , 24 (4.22)
,x , 32 (5.14)
, 32 (5.14)
T E , 19 (4.2)
T A , 7 (2.3)
V-IN , 24 (4.21)
v, 33 (5.17)
VI , 19 (4.1)
VT , 19 (4.1)
VA , 38 (6.10)
VA , 6 (2.2)
VM , 26 (4.31)
VM , 11 (2.20)
61