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

Fix Heyting subtraction for ACSets with variables #909

Merged
merged 2 commits into from
May 20, 2024
Merged

Conversation

kris-brown
Copy link
Contributor

@kris-brown kris-brown commented May 19, 2024

The subtraction operation was not brought up to date with AttrVar refactor, so a minor tweak is needed.

It uses all_subparts, which gets all the other parts that a part is referencing; however, that method searched over homs and not arrows. When this change is made, the correct behavior is recovered.

The relevance of this is that complement is used in this PR AlgebraicJulia/AlgebraicRewriting.jl#62

@kris-brown kris-brown self-assigned this May 19, 2024
@kris-brown kris-brown added the bug label May 19, 2024
Copy link
Member

@epatters epatters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Kris! Glad somebody is using this stuff :)

@epatters epatters merged commit 3ddc986 into main May 20, 2024
10 checks passed
@epatters epatters deleted the subtract_variables branch May 20, 2024 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants