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 precedences for interpreted functions #654

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

mezpusz
Copy link
Contributor

@mezpusz mezpusz commented Feb 5, 2025

This bug has already been fixed, but the fix must have got lost in some merge, so now I added a unit test, which is not much but better than nothing.

The bug could be reproduced by comparing the two terms in both directions which gives inconsistent results, so I suggest a debug check for this. For now I added this to forward demodulation since we are comparing pairs of terms there anyways, but I am open to putting it somewhere else.

I will run the entire TPTP with this check to see if there's any more such bugs.

…re lots of things to avoid such bugs in the future
@mezpusz
Copy link
Contributor Author

mezpusz commented Feb 6, 2025

The tests did not give any further violation.

@quickbeam123 quickbeam123 merged commit 7977bb7 into master Feb 7, 2025
1 check passed
@quickbeam123 quickbeam123 deleted the fix-interpreted-precedences-again branch February 7, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants