Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Paul Taylor
12 January 2011
x. p(x) has been given many dierent syntactic and semantic mean-
constructive
and a proof of
p(a)
x. p(x)
quantier seems to have very little force, merely concealing the identity of
formalisation of intuitionistic logics in proof theory came the
a.
existence theorem
that
x. p(x),
proof of p(a).
and a
classical
matical object always exists so long as it is free from contradition. Formally, this seems to mean
that
idiom
x
x. x
use
a p
Elments de Mathmatiques
for
p(a).
containing a
bound
x
variable
x,
is apparently
such that
an object
x. p(x)
in
instead of
.
choice
variable.
analysis
of the value
a.
So it is not a
term.
The symbol
must therefore
Indeed, the idiom may be reconciled with intuitionistic sequent calculus without making any
additional assumption whatever. The part of the idiomatic argument during which we pretend
that we have a witness
actually provides the formal proof of the premise (top line) of the rule
a,
p(a)
x. p(x)
q.
x. p(x).
unwitnessed
There
is
of
p(a),
just as there is
something more in a proof by induction than its base case and induction step. However, the extra
ingredient is not the axiom of choice but half of the denition of the existential quantier. The
proof rule above is found in any account of the
known as the
left
rule for
rule.
The vernacular of mathematics therefore agrees with standard formal logic. This correspon-
a.
priviso
y :Y
x: X . y: Y . p(x, y)
f : X Y . x. p(x, f x).
The meaning that emerges from the idiom and rule for
knowing
the
right to pretend
x: X . p(x)
is that
gives us
for
p(a),
of a certain form.
In this paper we consider dierent (tighter, more specic) restrictions on the syntactic form
of the conclusion
class
x. p(x)
of permissible conclusions
The existential
x: X . p(x)
means
This way of dening the quantier using second order logic is due to [whom? Russell? ref ?] and
is also found in [Prawitz?]. Under the CurryHoward correspondence between propositions and
types, it also appears in Girard's System F [ref ? P+T].
The purpose of this paper is to show that this syntactic idea of an existential quantier that is
dened in terms of the universal one agrees with the semantic notion of
epimorphism
in category
theory. Also, we shall not use second order logic or type theory but a new (weaker) predicate
calculus for which the category of sober topological spaces is a model (Section 2 and [equdcl]).
We introduce the categorical ideas by starting with elementary set theory. There the existential
quantier is embodied in the notion of a
e:XY
y: Y . x: X . y = ex.
to mean
When we generalise this from functions between sets to morphisms between other kinds of mathematical objects, we nd that the notion of surjectivity splits into several properties that are in
general inequivalent.
The morphism
any pair
X
On the other hand,
e:XY
is
e - Y
regular epi
K
e - Y
f
..
..
.. h
..
.?
Z
2
and
g - Z.
h
p - X
q
p, q : K X :
f p = f q
to another object
triangle commute (f
= h e).
ep = eq
h : Y Z
quotients
is
often given as a congruence. For groups, rings and vector spaces there are simpler representations
of congruences that are peculiar to these theories, namely normal subgroups, ideals and subspaces.
Plainly we may reverse the arrows in each of these three denitions to obtain dierent notions
of
inclusion.
arbitrary
circumstances, for example regular monos do not compose in the category of additive monoids.
But in many mathematically important categories any morphism may be
factorised
as
isomorphism theorems, saying that that image of a morphism is isomorphic to the quotient of its domain
In the settings of particular algebraic theories, results of the rst kind are often known as
by its kernel.
When we analyse this situation using category theory, we nd that the force of these theorems
orthogonality
lies in the
property:
e - I
...
...
...
...
...
...
...
...
...
...
..
?
J-
m - ?
Y
e = m f ) in which e has whichever
m has the injectivity one
ll-in h making the triangles commute
e=f
and
m h = g ).
Applied to the category of sets, the factorisation theorems, and in particular the orthogonality
property, are directly related to the logical existential quantier:
the
the
the
epi
mono
corresponds to the
diagonal ll-in
to the
above, and
elimination rule.
This connection was established in a more general type-theoretic setting by Martin Hyland and
Andrew Pitts [ref ] and discussed further in [prafm, 9.3].
However, there is still a piece of the categorical description missing. In symbolic logic, we may
substitute
commutation.
X0
...................
..
..
..
..
e0 ...
..
..
?
?
Y0
X
e
?
f - ?
Y
[b/y]
is given by
pullback
or
inverse image
along a
(which is the reason for the star in the notation). For this formulation to agree with
e0 .
We would like to take these ideas that came from logic, set theory and category theory and
apply them to general topology. In that subject, all of the notions of injectivity and surjectivity
f : X Y is
mono i it is a 11 function on points;
regular mono i it is mono and X carries the subspace topology inherited from Y ; or
regular mono i it is surjective on points and Y carries the quotient topology inherited from X .
it
Since the rst and third cases are the same as in set theory, it is the middle one that is
and
- N
g(n) = h(n)
$
6
6
1
6
.
.
automatically. Indeed, most proofs in classical domain theory work by restricting attention to the
nite elements.
Therefore
e:N$
it is not surjective on points. Categorically, this means that the pullback above is the empty space
and does not preserve the epi.
This situation is very similar to the vernacular use of there exists in ordinary mathematics
that we described earlier:
In order to show
it is legitimate to
It is manifestly false that
n. = en,
g = h,
pretend
x: $. gx = hx,
x = en for some n N.
that is,
that
manipulating the new quantier must be weaker than those for the ordinary one. Indeed, when we
dene the new quantier and disjunction operation in Section 3, we shall nd that there are severe
restrictions on the variables and contexts that may occur in the proof rules. In order to remind
ourselves of these restrictions whenever we use the new quantier, we shall use a new symbol for
it, writing the property above as
x:$
(The letter
n: N.
x = en.
is pronounced ye.)
Section 6 sketches the category that is associated with the logic, for which the equivalence was
proved in the earlier paper. Then
but not pullbacks. However, it is still the case that every morphism factorises as an epi followed
by a regular mono and they obey the orthogonality property (Section 7). Sections 89 use these
ideas to show that the category has stable disjoint unions.
The constructive existential quantier with with we began this discussion is stronger than
the classical one because it requires the witness to be identied. Our new quantier, on the other
hand, is much weaker because there need not be any witness at all. However, we have seen that
it neverthless has its roots in the constructive traditions of proof theory and category theory.
2 Equideductive logic
The setting in which we dene this new existential quantier is not second order logic but a
new calculus called
sober
-calculus.
equideductive logic.
The origins of this logic, its syntax, its topological semantics and the equivalent
The following remarks were just put here as the targets of cross references in this paper since
it was put together from sections taken out of the one mentioned.
summary of equideductive logic, at whatever level of formality turns out to be appropriate as the
programme develops.
Remark 2.1 We refer to the types of the object language as urtypes in a syntactic setting and
urspaces in a semantic one. In the leading classical model (sober topological spaces), the urspaces
may be either algebraic lattices with the Scott topology or locally compact spaces. The system of
urtypes must admit products and exponentials of the form
the symbols
?, h , i, 0 , 0 , , ev
Remark 2.2
Urtypes are
and
() ,
focus.
, : 3 A
that is
prime ,
P = P x. (. x) ,
we may form
` focus P : A
In particualr, for any
` a : A,
the term
` P . a
Equideductive
, : A ` (focus P ) = P .
such that
is prime.
is syntactically injective.
variable binding rule that any variable that appears on the left of =. must be
denitional extensions
were made in the earlier paper (and others are added in this
and later ones) that allow predicates instead of just equations on the right of
any predicate is nevertheless equivalent to one in normal form,
i.e.
=..
However,
a conjunction of quantied
implications with equations on the right and similar normal forms on the left.
a=b
: A . a = b.
5
by
, : A
,
satises
a`
x: A. x = x
-rules
()
-calculus.
, p(a), a = b ` p(b).
x : A, y : B,
y : B, z : C,
p(x)
r(z)
q(x, y)
s(y, z)
x0 . p(x0 ) =. q(x0 , y)
` z. r(z) =. s(y, z)
x0 . p(x0 ) =. q(x0 , y) ==. z. r(z) =. s(y, z) ,
y : B,
and
y:B
or of
vice versa.
satisfy rules that are similar to those in the sequent calculus, albeit with severe restrictions on the
use of variables.
Notation 3.1 We want the new connectives , g and to satisfy the rules
~ ~s(~x),
~x : A,
~ ~y : B,
~ ~z : C,
~
~x : A,
s(~z), p(~x, ~y ) ` r(~x, ~z)
=======================================
~ ~z : C,
~
~ p(~x, ~y ) ` r(~x, ~z)
~x : A,
s(~z), ~y : B.
r(~x)
~ ~z : C,
~ s(~z), p(~x) ` r(~x, ~z)
~ ~z : C,
~ s(~z), q(~x) ` r(~x, ~z)
~x : A,
~x : A,
==========================================================
~ ~z : C,
~
~x : A,
s(~z), (p g q)(~x) ` r(~x, ~z)
and
~ and B
~ be ur types and that there be no other predicates that
A
~x or ~y . However, the predicate r(~x, ~z) on the right may depend on additional variables ~z
hypotheses s(~
z ), but the latter must not involve ~x or ~y . It is because of these issues with
new symbols by applying the technique of Proposition 2.6 to the prospective rules above, with the
equation
~x = ~x
instead of
r(~x, ~z)
on the right.
~ , with no predicates
Notation 3.2 In the context [~x : A]
on
~x,
we dene
: . =
~
For clarity, we drop the strings of variables, since they can be recovered using product urtypes.
Lemma 3.3
x : A, p(x) ` (p g q)(x)
x : A,
Proof
For (I ),
y : B,
x : A, q(x) ` (p g q)(x)
`
p(x, y)
I
gives
, : A , x0 y 0 . p(x0 , y 0 ) =. x0 = x0 `
0
0
0
0
Hence . x y. p(x , y) =. x = x ) =
=. x = x, which is y. p(x, y).
Similarly, for (gI0 ), by E we have
x : A, y : B,
p(x, y),
x : A,
Weakening by
gI0 , gI1
x0 . p(x0 ) =. x0 = x0
, : A ,
p(x),
and using
x = x.
x = x.
(p g q)(x).
Lemma 3.4 Conversely, the connectives also obey the simple elimination rules, with just equations
on the right:
x : A, , : A , s0 (, ) ` x = x
x : A, , : A , s0 (, ), p(x) ` x = x
x : A, , : A , s0 (, ), (p g q)(x) ` x = x
x : A, y : B, , : A , s0 (, ), p(x0 , y) ` x0 = x0
0
and
s0 (, ),
x : A, , : A ,
Proof
By
x : A, , : A , s0 (, ), q(x) ` x = x
For
I ,
E ,
use
with
and
y. p(x, y)
x = x
x.
, : A ,
s0 (, )
x0 . p(x0 ) ==. x0 = x0 ,
s0 (, ) must not depend on x0 , and the second premise provides the same for q.
E to the denition of (p g q) and these two formulae gives x = x.
Similarly, the premise of the rule for gives
in which
, : A ,
in which
s0 (, )
x = x,
s0 (, )
x0
`
or
y.
Applying
x0 y. p(x0 , y) ==. x0 = x0 ,
Applying
to the denition of
as required.
Theorem 3.5 The connectives , g and obey the general elimination rules in Notation 3.1.
Proof Suppose rst that r(x, z) is the equation xz = xz . Then the three general rules follow
from the corresponding simple elimination rules with the substitutions
x. xz,
x. xz
and
s0 (, ) s(z).
r>
I .
When
r.
7
Lemma 4.1
x : A, p(x) ` p0 (x)
x : A, q(x) ` q0 (x)
x : A, y : B, p(x, y) ` p0 (x, y)
Lemma 4.2
a`
>,
a`
pgp
and
p & (p g q)
a`
p g (p & q)
a`
p g ,
p g > a` >
where
p
absorbed by
p g q a` q g p
p g (q g r) a` (p g q) g r
may depend on any variables of urtype but not on any predicates as hypotheses.
&
over
g)
(which is known
in categorical logic as the Frobenius law) can only be proved when the extra conjunct has no
arguments in common with the disjunction:
(p & r) g (q & s) (x, z),
y. p(x, y) & s(z) ,
x : A, z : C,
and
and
~x
and
~z
of variables,
Lemma 4.4
y : B,
y : B,
and
x. p(x) =. r(y)
x. p(x) =. r(y)
a`
a`
(p g q) =. r(y).
Corollary 4.5 Successive quantiers commute and are the same as multiple ones.
Proof
0 0
0
0 0 0
0
0
zy. p(x, y, z)
a`
. x z . y . p(x , y , z ) =. x = x
=. x = x
. x z . (y . p(x , y , z )) =. x = x =. x = x
z. y. p(x, y, z) .
0 0
Whereas the double quantier is a single one over the product of the urtypes, the nullary
version quanties over
Lemma 4.6
1.
This is a kind of
double negation .
which is
y. p(x) ` p(x) in the case where p(x)
y. q(y) =. xy = xy , in order to see that this can only be done if q does not depend on x.
Instead of y : 1 we could quantify a variable y of any urtype where y does not actually occur
in p. This is the counit of the adjunction between and weakening:
It would be a useful exercise to prove that
Corollary 4.7
Corollary 4.8
p(y) & (x = y) .
This double negation formula will turn up again all over the place.
In a slightly more
complicated form, it will also be used in the construction of exponential spaces in the following
paper.
F :
and
5 Idioms of reasoning
This section will become an explanation of how the new existential quantier could be incorporated
into natural dededuction and the idioms of the vernacular of mathematics as described in my book.
At the moment it just consists of a collection of relevant fragments of text that were originally
written in other contexts.
For the purpose of presenting the calculus, it is clearer to use judgements (sequents), in which
the contexts are stated in full in each step. However, when we use the rules to develop ordinary
mathematics, we would like to adopt a Natural Deduction style, in which the contexts remain the
same from one step to the next unless we explicitly make or discharge assumptions and variables.
Since these must obey last-in rst-out scoping rules, one way of formalising them is by means of
boxes that delimit the scopes; this style is described in [prafm, 1.5].
The relationship between the formal rules for the
is explained in [prafm, 1.6]. As with
that delimit the scope of the witnesses. Then we observe that it doesn't matter when the box is
closed (discharging the hypothetical witness), because everything that follows the end of it can be
brought inside instead. That is, so long as
(a) we do not export the identity of the witness from the box; and
(b) it is closed before the next enclosing one.
The box is therefore redundant, and we may instead pretend that we have a witness, just as
ordinary mathematicians do when they say that there exists something satisfying the predicate.
How can we adapt these ideas to the new quantier and disjunction operator? Whereas there
were restrictions on the
use the
elimination
introduction
rules for
and
of
, focus
and
=.,
.
as a free variable.
y. p(x, y)
is an appropriate notation).
in a context in which
and
=.,
namely that
other predicate.
This completes our account of the purely syntactic aspects of the logic.
Section 7 explains
what
to
6 Equideductive categories
This section will give a brief sketch of the construction of the classifying category for equideductive
logic.
material in the
Examples
Remark 6.1
Some of the
urtype
in the sober
-calculus
type
to be an
{x : A | p(x)},
using the familiar comprehension or subset-formation notation from elementary set theory.
Formally, these types behave in essentially the same way as contexts. We may also quantify over
them, writing
x: {x : A | p(x)}. q(x)
x: {x : A | p(x)}. q(x)
These types provide the objects of the
Morphisms are
represented
for
for
by uterms,
- {y : B | q(y)}
{x : A | p(x)} .....
?
?
?
A
f - ?
B
where
x : A ` fx : B
such that
f =g
if
x : A, p(x) ` f x = gx : B,
is
injective . For our purposes, it will be enough to take B C , so targets of maps are wlog of the
10
form
{C | r}.
Remark 6.2
Remark 6.5 Any equaliser is a partial product, so any regmono is in M, and conversely in Sob.
Remark 6.6 However, in the term model the class of regular monos is properly contained in M.
Having a cokernel doesn't help.
We need an example for which the predicate
y. y = y ==. xy = xy
is not equivalent to
y. xy = xy .
7 Factorisation
As our rst application of the new quantier to category theory, we show in this section that it
agrees with the epis in the category, as we claimed in the Introduction.
x : A, p(x) ` q(ex)
e : X {A | p} Y {B | q}
for which
y : B, q(y) ` x. p(x) & y = ex ,
and
where the rst condition is just the denition of a morphism. We shall show that
is the class of
epis.
We also write
for the class of monos that arise from partial product diagrams. These are
{A | p} {A | q}
with
x : A, p(x) ` q(x).
The class
is
Lemma 7.2
E -maps
y : B, q(y) ` , : B .
Proof
is equivalent to
x: A. p(x) =. (ex) = (ex) ==. y = y.
This is because
a`
z 0 . r(z 0 ) & (z = z 0 ).
11
So, given
eE
x. p(x) & (y = ex) & z 0 . r(z 0 ) & (z = z 0 )
z 0 . x. p(x) & (y = ex) & r(z 0 ) & (z = z 0 )
z 0 . x. p(x) & (y = ex) & r(z 0 ) & (z = z 0 )
xz 0 . p(x) & r(z 0 ) & hy, zi = hex, z 0 i ,
y : B, z : C, q(y), r(z) `
`
`
`
so the map
(e Z) : X Z Y Z
is also in
E.
belongs to
i it is
Proof
epi :
C
- Z { | s}
e- Y {B | q}
X {A | p}
e = e,
already
- C
= .
Suppose that
e:XY
Z .
` : B .
Using
x: A. p(x) =. (ex) = (ex) ==. y: B. q(y) =. y = y .
` to get
x: A. p(x) =. (ex) = (ex) ==. y = y,
y : B, q(y) ` : B .
which is the
y: B. q(y) =.
behind the
E -property.
e E , so e C E
eC
-
X C
Y C
- .
Z C ,
has a mono
Z ,
z : C, s(y, z) ` q(y),
Proof
By
y : B, q(y)
y 0 z. s(y 0 , z) & (y 0 = y)
=me
with
eE
is epi.
and)
a`
and
em
X {A | p} Y {B | r}- - Z {B | q}
?
?
?
A
f
12
?
- B
Proof
be the
dened map, is
I .
The inclusion
m:Y Z
y : B, r(y) ` q(y)
by
E ,
f :X Y,
which was
and
are
A
eE
X {A | p}
- B
- Y {B
| q}
.
....
....
....
.
.
.
h.........
.
....
.
.
.
..
....
.
.
.
...
....
mM
?
U {C | r}
?
- V {C
- | s}
- ?
?
C ============================================== C
in any commutative square like the one in the middle of this diagram, there is a unique map
h:Y U
Proof
x : A, p(x) ` r(f x)
x : A, y : B,
so
Since
e E,
and then
m M,
by Lemma 2.5,
f x = g(ex),
and
so
r g(ex) .
(y = ex) ` r(gy).
p(x),
E
y : B, q(y) ` r(gy),
gives
h.
Corollary 7.9
which
, g
and
Sub(),
in
are joins.
This lattice need not be distributive, or even modular. Logically, these symbols allow weakening
but not contraction or cut of variables. They only allow weakening by a hypothesis if it has no
13
variable in common. Topologically, they are preserved by products but not by pullbacks or inverse
images.
Proof
The foregoing results only apply to contexts consisting only of urtypes. A general context
[x : A, p(x)]
is a subspace of an urtype
A,
and
is still a lattice.
Warning 7.10 Although our new connective is very useful, it is not the same as the usual one
extremely careful in using it.
: N N
be
f n m. m < n.
Its factorisation
- N
denes the ascending natural number domain when this diagram is interpreted in
Sob.
: $ ` n. p(n, )
where
p(n, ) ( = f n)
and
but
n : N, p(n, ) ` ,
W
m. > = n m. m < n.
However,
y : 1?
or the factorisation
can
be pulled back?
Remark 7.13 There is another existential quantier for maps with dense image:
di y: B. p(x, y) : A .
x0 y 0 . p(x0 , y 0 ) =. (x0 ) = ==. x = .
8 Coproducts
In the second application of the new quantier and disjunction, we now show that the category
has nite coproducts.
Proof
...........................
{C | r}
?
: x 7 c. x -
E ,
. =
x : ,
?
C
r(c. x).
It is unique because
x, y : ,
14
c. x = c. y.
Notation 8.2
(A B )
H:
: ( ),
0 a
. a
a. (0 a)
q
x. p(x) =. 1 x = 2 x
X +Y
X+Y
1 2
y. q(y) =. 1 y = 2 y
prime(H)
[p, q](H)
. b
b. (1 b)
1 b
1 2
Of course,
a : A, : A , b : B , : B ,
. H = H
1 2 1 2 . (1 2 ) & (1 2 ) ==. H1 1 = H2 2 .
is for now just an abbreviation: we have to prove that it has the universal
property of a coproduct, but rst we explore the basic properties of this notation.
Lemma 8.3
>
a`
[>, >] a`
Proof
[p, q](0 x) a`
[p, q](1 y) a`
=
>
p(x)
q(y).
The rst part is Axiom 2.1 and the second follows from this. For the third,
[p, q](0 x)
1 2 1 2 . (1 2 ) & (1 2 ) ==. 0 x1 1 = 0 x2 2
a`
1 2 . (1 2 ) ==. 1 x = 2 x
p> (x)
a`
p(x)
Lemma 8.4
0 : X X + Y
and
1 : Y X + Y
and natural.
Proof
H 0 a . a
(0 a) (. a) a (0 a).
We have already shown that if
0 a = 0 b
p(x)
then
The map
a`
. a = . b
is mono because
. a = b
a`
a=b
0 -
1
?
C
D
1
0C
For naturality,
for
(0 a)
?
D
. 0 a(f )(g )
. (f )a
. (f a)
0 (f a).
x {A | p}
X +Y
y {B | q}
exhaust
X +Y,
15
0 x
for
and
1 y
g
and
X X +Y Y
jointly epi , so this is the dual of extensionality for products (Axiom 2.1).
Proposition 8.5 For H :
prime(H),
Proof
Let
[p, q](H)
be the context
are
x. p(x) & H = 0 x g y. q(y) & H = 1 y .
H, prime(H), [p, q](H) on the left.
a`
The backwards direction is the easy one. By Lemmas 2.2, 2.5 and 8.3,
A
H :
, x : A, p(x), (H = 0 x)
A
H :
Then
H:
and
, RHS
E
gE
1 , 2 : 2 (A B )
such that
and
so we write
For
x : A,
by
I
, x : A, p(x)
where
()
p(x)
gives
()
, ` 1 H = 2 H .
1 H 0 = 2 H 0
in
1 x 1 x 1 (0 x) 1 H 0 = 2 H 0 2 x,
Hence
we may
deduce that
()
1 H = H(1 , 1 ) H1 1 = H2 2 = 2 H,
Theorem 8.6 X + Y
is the coproduct.
1
0
X + Y .
....... {B | q} Y
...
?
f
h ........?
........
....
g
{C | s} Z
?
?
?
?
A
B
01
A
B
.....
.......
.......
f
..h ..
........
?
........ g
...
C
X {A | p}
?
Proof
subspace of some
with
C A.
Given
f : X Z {C | s}
x : A, p(x) ` s(f x)
and
16
and
y : B, q(y) ` s(gy),
h0 : (
B )
C ,
by injectivity of
or
to
h(0 a) = c. f ac = f a
because
and
the triangles commute. These are both applications of the general elimination rules for
and
in Section 3.
Since
h(0 x) = f x
and
s(f x),
by Lemma 2.5,
H, x : A,
p(x),
H = 0 x
s(hH)
H,
H,
by Proposition 8.5, so
prime(H),
H,
H,
q(y)
and
h0 = h
H = 0 x
p(x),
gE
s(hH)
s(hH)
h0 H = f x = hH
given
h0 H = hH
H = 1 y ,
E
so
x. p(x) & (H = 0 x) g y. q(y) & (H = q y)
H,
Hence
H, x : A,
[p, q](H)
E
prime(H),
[p, q](H)
h0 H = hH
gE
h0 H = hH.
9 Extensivity
Finally we show that the coproducts that we constructed in the previous section are stable and disjoint, and the initial object is strict. We do this using the modern categorical notion of
extensivity
- Z
k
?
1
?
- 2
?
1
??).
Lemma 9.2
If an equideductive category
17
has a point.
Proof
012
1 .
respect to
01
provides a point
with
Proposition 9.3 For any urtype A, the type 0 {A | } is a strict initial object, and
`
x:0
for any predicate
p.
p(x)
h C
0 {A | }
............... { | s} Z
?
?
k
?
h
?
- C
A
............................
k
Proof
0Z
of
The judgement
is given by
Notation 9.4
2 1 + 1 { | prime}
with elements
0 .
and
1 . .
H : , prime(H), : ` = H ;
H : 2, prime(H) . H = H(0 , 1 ) ` (H = 0) g (H = 1);
the map 2
is mono;
x: 2. p(x) a` p(0) & p(1); and
x: 2. p(x) a` p(0) g p(1).
Proof
stops us
from substituting into it. This is why we prove [a] rst, using Proposition 8.5, and [b] follows from
this. [c] This map is in
M.
[d,`] By
x : 2, p(0), p(1)
E .
[d,a]
and
gE .
[e,a] By
I .
p(x)
[e,`] Using (d) and the
g,
x: 2. p(x)
`
. (x: 2. p(x) =. = ) =. =
. (p(0) =. = ) & (p(1) =. = ) =. =
p(0) g p(1).
The consequence of these properties of
of
Z.
2
Z 2
gives rise to a
partition
a coproduct.
18
If the two squares in the denition of extensivity above are pullbacks then the top row is a
coproduct.
Lemma 9.6
Z {z : C | r(z)}
= {z : C | r(z) & kz = 0} + {z : C | r(z) & kz = 1}.
Z {C | r}- - C
k
?
-
?
2-
Proof
= {F : | prime &r> }
Z {C | r}
W {C | r & k = 0} + {C | r & k = 1}
C C
{H :
Lemma 6.1
F . H
[F 7 H 7 F ]:
H . F z. kz(z)(z) .
and
: , prime(), :
Combining this with the dening property of
gives
which means that
If
k : Z 2 ,
`
prime(kz)
z : C, r(z), : C
z = kz(z)(z),
` z. kz(z)(z).
H = 0 z
= .
z : C, r(z)
prime(F ), r> (F )
[H 7 F 7 H]:
with
r(z)
then
Hence
F = . F z. kz(z)(z) .
F = z
with
prime(F )
and
r> (F ),
so by
E ,
. F (z. z) = . z 0 z = H.
By Proposition 8.5,
in each case,
H 7 F 7 H
by
gE .
The converse of this is that the naturality squares for the coproduct inclusions are pullbacks.
If both rows are coproducts then the squares are pullbacks.
Lemma 9.7
?
1
- A B
-
?
- 219
k
?
-
Proof
A
from
take
to
. ,
both take
to
. H(a. , b. ). Then
2
both maps
is mono by
{H :
so we let
kH = 0
a`
. H(a. , b. ) = . .
, H = 1 y
Since
0 = kH = 1
a`
. = .
. = .
8.5 gives
Using
H 0 :
that
, x : A, (H 0 = 0 x)
H 0 = . H 0 (b. ?)
Hence
F = a,
with
H = 0 a
and
Corollary 9.9
Coproducts are stable and disjoint, the initial object is strict and product dis-
(X Z) + (Y Z)
[h0 0 ,1 i,h1 0 ,1 i]
- (X + Y ) Z
is an isomorphism.
Proposition 9.10 The coproduct of any list of urtypes exists and has an exponential that is itself
an urtype:
0
= 1,
A+B
= A B ,
Ai
Ai .
Proof
( A) + ( B)
= (A + B)
============================
( A)
( B)
========
==
========
==
A
B
============A
==========
B
and similarly between the unique maps
0
=0
20
and
1 0 .
10 Overt spaces
Depending on whether I decide to publish this paper separately from or alongside the others in the
equideductive programme, it may be appropriate to add a narrative section about how the logic
is developed into one for topology. In particular, an overt space is one for which the quantier
on
predicates
is represented by an
urterm.
11 Recursion
This section is just parked here temporarily. It will form the core of another paper about discrete
mathematics in equideductive topology.
Axiom 11.1
primitive recursion
We express
` 0:N
The
NE -rule
is the
and
n : N ` n + 1 succ n : N.
NI
and urterms
` z:B
and
, n : N, b : B ` s(n, b) : B,
there is an urterm
, n : N ` r(n) rec(n, z, s) : B
that has the property that
` r(0) = z : B
The
rec
and
, n : N ` r(n + 1) = s n, r(n) : B.
In order to use
N -rule
is
rec(n, 0, succ) = n.
Axiom 11.2 The induction scheme for N says that, for any predicate r(n) on N (with no other
parameters),
r(0),
n: N. r(n).
Remark 11.3 For logical and programming purposes it is more convenient to dene combinatorial
structures using the urtype T of binary trees. These rename 0 as nil , and have a binary constructor
[ | ]
succ.
N,
whilst
r( nil ),
z: T. r(z),
x. y. y x =. r(y) ==. r(x)
to dene a well founded relation
Lemma 11.4
N
=1+N
z. r(z)
(this is extensionality).
21
is violated in
y x.
Proof
n : N ` (n = 0) g (m. n = m + 1)
is
Proof
S
Y {B | q}
?
?
NY
?
?
- B
?
A N B
?
A
..
..
..
..
.. hid, Ri
..
..
..
.
..
..
..
.. R
..
..
.?
= {A | p}
?
Categorically, the data are as shown above, and we have to nd the map
R.
Symbolically,
we are given
x : A,
x : A, p(x),
and
n : N,
: ,
x : B ,
p(x)
q()
q(x )
DZ
B
Sx (n, ) : ,
q Sx (n, ) .
DS
x and
-calculus,
By syntactic injectivity (Theorem 2.3), without loss of generality, formation of the urterms
Sx (n, )
x : A, n : N
`
x:A
such that
Rx (0) = x : B
RZ
Rx (n + 1) = Sx n, Rx (n) .
x : A, n : N
and
Rx (n) : B
RS
n : N ` r(n) x: A. p(x) ==. q Rx (n) .
By the hypotheses
DZ
and
DS ,
`
and
and
RS
for
Rx (n)
and
I ,
this satises
r(n + 1) x: A. p(x) =. q Sx (n, Rx (n)) .
` n. r(n),
which by
n : N, x : A, p(x)
but this says that the morphism
RZ
R:NY
is
q Rx (n) ,
predicate
22