Skip to content

Commit

Permalink
move interaction to semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
toumix committed Apr 12, 2024
1 parent b16aa9d commit e1a0fde
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion discopy/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Note
----
Monoidal streams form a :mod:`feedback` category as follows:
Monoidal streams form a feedback category as follows:
>>> from discopy import feedback, drawing
>>> x, y, m = map(feedback.Ty, "xym")
Expand Down Expand Up @@ -132,6 +132,8 @@
>>> pi, id_dom = (0, 1, 2, 4, 3, 5), symmetric.Id(LHS.now.dom)
>>> with symmetric.Diagram.hypergraph_equality:
... assert LHS.now == id_dom.permute(*pi) >> RHS.now.permute(*pi)
See :mod:`discopy.feedback` for the other axioms for feedback categories.
"""
from __future__ import annotations

Expand Down
1 change: 1 addition & 0 deletions docs/api/semantics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ DisCoPy's computational core: categories of functions, matrices and tensors.
discopy.matrix
discopy.tensor
discopy.stream
discopy.interaction
3 changes: 1 addition & 2 deletions docs/api/syntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ DisCoPy's mathematical core: a zoo of diagrams, categories and functors.
discopy.balanced
discopy.symmetric
discopy.markov
discopy.feedback
discopy.traced
discopy.closed
discopy.rigid
Expand All @@ -21,5 +22,3 @@ DisCoPy's mathematical core: a zoo of diagrams, categories and functors.
discopy.compact
discopy.frobenius
discopy.hypergraph
discopy.interaction
discopy.feedback
File renamed without changes.

0 comments on commit e1a0fde

Please sign in to comment.