Skip to content

Fix demodulation opposite literal case - #1055

Merged
MichaelRawson merged 1 commit into
masterfrom
fix-wrong-order-for-opposite-literals
Nov 10, 2026
Merged

MichaelRawson merged 1 commit into
masterfrom
fix-wrong-order-for-opposite-literals

Conversation

@mezpusz

@mezpusz mezpusz commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Small fix, we wrongly returned the inverse of the result when comparing literals that are the exact opposites of each other. This optimization is apparently not triggered very often, the fix did not give any difference on TPTP FOL.

When trying to write a test for it in demodulation, I realized we use a different check there which is also wrong (overly restrictive, so we might lose demodulations with drc=ordering).

@MichaelRawson
MichaelRawson merged commit 28a78a3 into master Nov 10, 2026
1 check passed
@MichaelRawson
MichaelRawson deleted the fix-wrong-order-for-opposite-literals branch November 10, 2026 14:21
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.

3 participants