Documentos de Académico
Documentos de Profesional
Documentos de Cultura
A Rosetta Stone
John C. Baez
UC Riverside
Mike Stay
Google, U. of Auckland
Objects
String diagrams have strings or wires:
X
Quantum mechanics has Hilbert spaces:
Topology has manifolds:
X ! Cn
Morphisms
String diagrams have vertices:
X
f
Y
f : Cn Cm
Morphisms
X
Y
Linear logic has constructive proofs:
X#Y
Computation has programs: Y f(X);
SET has functions: f : X Y
Identity morphisms
String diagrams:
1 0
0 1
"
Topology:
Linear logic:
X#X
(i)
Monoidal categories
String diagrams:
X%
f%
f
Y
Y%
X%
X
f f%
=
Y
X X%
=
Y%
f f%
Y Y%
!
" !
" ae a f ag be
ah a j ak bh
a b
e f g
=
h j k
c d
ce c f cg de
ch c j ck dh
9
bf
bj
df
dj
bg
bk
dg
dk
Monoidal categories
Topology:
% # Y%
X
#
Y
X
Linear logic: AND
()
%
%
XX #Y Y
Computation: parallel programming
10
Monoidal unit
String diagram:
Quantum mechanics: I = C, the phase of a photon
Topology:
Linear logic: I, trivial proposition
Computation: I = void or I = unit type
SET: one-element set I
11
12
13
X
f
pair : I X X
) e+
14
(c)
z = f(x, y);
or
z = f(y)(x);
SET: f : X Y Z
!
15
f : Y ZX
Model Theory
f
X
Y
g
16
Model Theory
s
V
E
t
Th(Graph)
17
Model Theory
Th(Graph)
SET
object V
set of vertices
object E
set of edges
morphism s : E V function that picks out the source of each edge
morphism t : E V function that picks out the target of each edge
18
19
20
Semantics [CE-SET]
computably enumerable
set of values
partially recursive function
21
22