Skip to content

WildCat notation #2271

@patrick-nicodemus

Description

@patrick-nicodemus

We currently use the following notation in the WildCat library:

  • @ (path concatenation) is in diagrammatic order
  • $@ (groupoid composition, vertical composition of 2-cells in a wild 1-category) is in diagrammatic order
  • $o (morphism composition) is in traditional order
  • h $@L p (whiskering of the 1-cell h with the 2-cell p) is in traditional order
  • p $@R h (whiskering of the 1-cell h with the 2-cell p) is in traditional order
  • alpha $@@ beta (horizontal composition of 2-cells) is in diagrammatic order

A few points:

  • It seems inconsistent that $@@ is in diagrammatic order while $@L, $@R and $o are in traditional order, because whiskering is a special case of horizontal composition (with the identity)
  • It's a bit confusing that vertical composition of 2-cells in a wild 1-category is usually given in diagrammatic order (using $@) while horizontal composition of 1-cells and whiskering are in traditional order. Perhaps it would be good to introduce more notation, say for horizontal composition of 2-cells in a wild category in diagrammatic order, so that proofs can use diagrammatic notation consistently.
  • I am currently working on this bicategory branch and I need good notation for horizontal and vertical composition of 2-cells. One option is to adhere to the syntax above as closely as possible. On the other hand, @ is concatenation in the path groupoid, $@ is composition in an arbitrary 0-groupoid, and $@L, $@R and $@@ are only defined for cells in groupoids. Therefore one could argue that using the @ symbol in contexts where the cells are not invertible is confusing, because the programmer expects that it generalizes path groupoids and 0-groupoids, i.e., the cells are invertible.

I propose alpha $| beta for the vertical composition of alpha with beta in diagrammatic order in a bicategory, so alpha $| beta = alpha $@ beta for the 2-cells of a 1-category. I'm not sure what a good symbol is for horizontal composition of 2-cells and whiskering. I kind of like the semicolon for diagrammatic horizontal composition, because it evokes program composition: f; g; h.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions