Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context mismatch in axioms of HypergraphCategory #422

Closed
ChenZhao44 opened this issue May 2, 2021 · 1 comment · Fixed by #423
Closed

Context mismatch in axioms of HypergraphCategory #422

ChenZhao44 opened this issue May 2, 2021 · 1 comment · Fixed by #423

Comments

@ChenZhao44
Copy link

julia> using Catlab, Catlab.Theories

julia> t = theory(HypergraphCategory);

julia> t.axioms[26]
Catlab.GAT.AxiomConstructor(:(==), :(dagger(f)), :(compose(compose(otimes(id(Y), dunit(X)), otimes(otimes(id(Y), f), id(X))), otimes(dcounit(Y), id(X)))), OrderedCollections.OrderedDict{Symbol, Union{Expr, Symbol}}(:A => :Ob, :B => :Ob, :f => :(Hom(A, B))), nothing)

Should the context be :X => :Ob and :Y => :Ob instead of :A => :Ob and :B => :Ob?

@epatters epatters added the bug label May 2, 2021
@epatters
Copy link
Member

epatters commented May 2, 2021

Yes, thank you for noticing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants