Skip to content

Fix EdgeFunction SemiRing#816

Merged
fabianbs96 merged 3 commits intodevelopmentfrom
f-FixEFSemiRing
Mar 7, 2026
Merged

Fix EdgeFunction SemiRing#816
fabianbs96 merged 3 commits intodevelopmentfrom
f-FixEFSemiRing

Conversation

@fabianbs96
Copy link
Member

This PR primarily fixes the EdgeFunction's SemiRing. According to the definition of semi-rings, the neutral element of the combine-operation (here AllTop) must be an annihilator of the extend-operation on both sides, left and right.
As AllTop is a constant edge-function, the right-annihilation is satisfied; however, left-annihilation is not.

As a consequence of this bug, one cannot just return an AllTop edge-function to kill a data-flow fact. The fact still holds and has a non-top edge-function attached.

ThisPR fixes that issue + some minor things.

@fabianbs96 fabianbs96 self-assigned this Mar 7, 2026
@fabianbs96 fabianbs96 requested a review from MMory as a code owner March 7, 2026 13:18
@fabianbs96 fabianbs96 added the bug Something isn't working label Mar 7, 2026
@fabianbs96 fabianbs96 changed the title Fix EdgeFunction SemRing Fix EdgeFunction SemiRing Mar 7, 2026
@fabianbs96 fabianbs96 merged commit 21f761e into development Mar 7, 2026
14 checks passed
@fabianbs96 fabianbs96 deleted the f-FixEFSemiRing branch March 7, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant