Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sgdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gradual-typing
sgdt
Commits
62e9af5e
Commit
62e9af5e
authored
6 years ago
by
Max New
Browse files
Options
Downloads
Patches
Plain Diff
start definition of freyd categories as generalized multicategories
parent
7199e9f6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
freyd-multicategories.tex
+113
-0
113 additions, 0 deletions
freyd-multicategories.tex
with
114 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
62e9af5e
...
...
@@ -219,3 +219,4 @@ TSWLatexianTemp*
# expex forward references with \gathertags
*-tags.tex
*.agdai
*.pdf
This diff is collapsed.
Click to expand it.
freyd-multicategories.tex
0 → 100644
+
113
−
0
View file @
62e9af5e
\documentclass
{
article
}
\usepackage
{
amsmath,amssymb
}
\usepackage
{
tikz-cd
}
\newtheorem
{
theorem
}{
Theorem
}
\newtheorem
{
definition
}{
Definition
}
\newcommand
{
\Set
}{
\text
{
Set
}}
\newcommand
{
\relto
}{
\to
}
\newcommand
{
\M
}{
\mathcal
{
M
}}
\newcommand
{
\sq
}{
\square
}
\begin{document}
\title
{
Freyd Multicategories as Generalized Multicategories
}
\author
{
Max S. New
}
\maketitle
\begin{abstract}
Based on work of Power, we present the
\emph
{
Freyd Multicategories
}
of Staton-Levy as a form of Generalized Multicategories (Leinster,
Crutwell-Shulman) relative to the monad whose algebras are strict
Freyd categories. Following Crutwell-Shulman, we could also call
these
\emph
{
Virtual Freyd Categories
}
. We plan for this to be the
basis for our call-by-value gradual type theory, by adapting the
construction from Set to Poset/Cat.
\end{abstract}
\section
{
M-categories and Freyd Categories
}
First, we recount and re-organize some details of Power on freyd
categories as
$
\M
$
-categories with algebraic structure.
\begin{definition}
[Sierpinski, Mono]
Define
$
\to
$
to be the free category with two objects and one arrow
between them. Then the Sierpinski topos is the category
$
\Set
^{
\to
}$
of arrows and commuting squares is a preasheaf topos
and the category Mono of injective functions and
commuting squares is a quasitopos: the category of
$
\neg\neg
$
-separated presheaves on
$
\Set
^{
\to
}$
.
\end{definition}
We can then form the double categories of Sierpinski and
Mono-matrices, the right place to define categories enriched in
Sierpinski and Mono.
\begin{definition}
[Mat(
$
V
$
)]
The virtual equipment of Sierpinski (Mono) matrices has as vertical
category the category of sets and functions and a horizontal arrow
$
M : X
\relto
Y
$
is a matrix giving for each
$
(
x,y
)
\in
X
\times
Y
$
an
object of Sierpinski (Mono). A globular 2-cell is given by an arrow
in Sierpinski (Mono) for each
$
x,y
$
and the restriction of matrix
$
M
: X
\relto
Y
$
by functions
$
f : X'
\to
X
$
and
$
g : Y'
\to
Y
$
is
given by
$
((
f,g
)
^
*
M
)
_{
x',y'
}
=
M
_{
f
(
x'
)
,g
(
y'
)
}$
.
\end{definition}
\begin{definition}
[Sierpinski Categories]
The virtual equipment of sierpinski categories and functors/profs is
given by Mod(Mat(Sierp))
More explicitly, a Sierpinski category
$
C
$
consist of a set of
objects
$
C
_
0
$
, a category structure of ``tight'' morphisms
$
C
_
t
$
and
a category of ``loose'' morphisms
$
C
_
l
$
with an injective function
$
i : C
_
t
(
a,b
)
\to
C
_
l
(
a,b
)
$
that preserves identity and composition.
\end{definition}
Next, we consider ordered and cartesian Freyd Categories as
(Sierp)/Mono-categories with ``algebraic structure'', we give a more
pedestrian presentation than Power.
First, planar freyd categories are monoidal sierpinski-categories
using the following ``funny'' tensor product, which we can define on
the double category of matrices, and thus automatically for
categories.
%
The idea is that the funny tensor product is the cartesian product of
the tight maps and blah
\begin{definition}
[Funny Tensor Product of Matrices]
We define a ``funny tensor product''
$
\sq
$
on the double category of
Sierpinksi matrices by setting the action on vertical categories to
be the cartesian product, and on matrices:
\begin{enumerate}
\item
$
(
C
\sq
D
)
_
0
=
C
\times
D
$
\item
$
(
C
\sq
D
)
_{
x,y,t
}
=
C
_{
x,y,t
}
\times
D
_{
x,y,t
}$
\item
$
(
C
\sq
D
)
_{
x,y,l
}$
is the following
\emph
{
pushout
}
:
\[
\begin
{
tikzcd
}
C
_
t
\times
D
_
t
=
(
C
\sq
D
)
_
t
\arrow
[
d
]
\arrow
[
r
]
&
C
_
t
\times
D
_
l
\arrow
[
d
]
\\
C
_
l
\times
D
_
t
\arrow
[
r
]
&
(
C
\sq
D
)
_
l
\end
{
tikzcd
}
\]
I.e, it is the quotient of the sum
$
(
C
_
l
\times
D
_
t
)
+
(
C
_
t
\times
D
_
l
)
$
by the equivalence induced by
$
(
i
_
C
(
f
_
l
)
,g
_
l
)
=
(
f
_
l,
i
_
D
(
g
_
l
))
$
\end{enumerate}
I checked on the board that it maps 2-cells, and it must be
functorial, right?
\end{definition}
By abstract nonsense, the funny tensor product on the equipment of
matrices becomes a monoidal product on the equipment of categories,
and then a planar premonoidal category is a monoid object wrt the
funny tensor product. In more pedestrian terms, a planar premonoidal
category has a monoidal category of tight morphisms, a premonoidal
category of loose morphisms and all tight morphisms are central.
A freyd category is then a
\emph
{
cartesian
}
premonoidal category:
i.e. a premonoidal category where the monoidal structure on the tight
morphisms is a cartesian product. I don't know how to describe this in
terms of adjoints.
\end{document}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment