Skip to content

Commit

Permalink
The left and right whiskering operations commute
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrik-bakke committed Dec 7, 2023
1 parent c49e8a2 commit c342c36
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MIXFIX-OPERATORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Below, we outline a list of general rules when assigning associativities.
associated regardless. For instance, one should never write

```agda
assoc : p ∙ (q ∙ r) = p ∙ q ∙ r
assoc : p ∙ q ∙ r = p ∙ (q ∙ r)
```

- **Unique well-typed associativity**. When an operator only has one well-typed
Expand Down
12 changes: 10 additions & 2 deletions src/foundation-core/whiskering-homotopies.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,15 @@ module _
ap-right-whisk-htpy α h = α ·r h
```

### Left and right whiskering commute definitionally
### The left and right whiskering operations commute

We have the coherence

```text
(h ·l H) ·r h' ~ f ·l (H ·r g)
```

and, in fact, this equation holds definitionally.

```agda
module _
Expand All @@ -272,6 +280,6 @@ module _
(h : {x : A} {y : B x} C y D y)
(H : {x : A} f {x} ~ g {x})
(h' : (x : A) B x)
h ·l (H ·r h') ~ (h ·l H) ·r h'
(h ·l H) ·r h' ~ h ·l (H ·r h')
coherence-left-right-whisk-htpy h H h' = refl-htpy
```

0 comments on commit c342c36

Please sign in to comment.