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
ff7da08e
Commit
ff7da08e
authored
7 years ago
by
Max New
Browse files
Options
Downloads
Patches
Plain Diff
[sketch] start spelling out freyd multicategory
parent
71db74fa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sketch.org
+14
-0
14 additions, 0 deletions
sketch.org
with
14 additions
and
0 deletions
sketch.org
+
14
−
0
View file @
ff7da08e
...
...
@@ -28,6 +28,20 @@ Restricted to tight arrows, it is the cartesian produt.
There should be a free monoid monad T on M-category, and then "freyd
multicategories" should be T-multicategories.
What does this free monoid look like?
Let's spell this structure out and then see how to simplify.
A freyd multicategory consists of
1. An underlying M-category of "unary" pure and effectful morphisms
C0.
2. A T-module of multi-arrows, i.e. a module C1 : T(C0) <-/- C0. This
consists of
- For every list Γ ∈ C0* and output type A ∈ C0, a set of pure
morphisms C1ᵥ(Γ;A) and effectful morphisms C1ₜ(Γ;A) and an
injective function i : C1ᵥ(Γ;A) -> C1ₜ(Γ;A)
- For every object A, a pure identity arrow id(A) : C1ᵥ(A;A)
- TODO: the rest
These have a set C0 of objects, for every list of objects G and object
A a set of loose morphisms C_l(G;A) with a specified subset of tight
...
...
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