Skip to content

Fix completeness check - #3990

Merged
unp1 merged 1 commit into
mainfrom
fixCompletenessCheck
Oct 2, 2026
Merged

unp1 merged 1 commit into
mainfrom
fixCompletenessCheck

Conversation

@unp1

@unp1 unp1 commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

A previous PR moved the creation of Skolem constants to a later point such that they are now first created upon execution of the taclet and not at match time. This avoids premature reservation of names.

Hence, a taclet app queried for "complete" returns false for skolem constants, instead
completeExceptSkolemConstants must be used. This avoids an unnecessary MatchDialog appearance when applying skolemization rules.

Intended Change

Check completeness with completeExceptSkolemConstants when deciding whether a taclet can be applied. Use "complete" only after creation of the Skolem constants.

Type of pull request

  • Bug fix (non-breaking change which fixes an issue)

Ensuring quality

  • I have tested the feature as follows: The Taclet Match Dialog does no longer come up for exLeft, but still (as it should) for allLeft.

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 and later for inclusion in KeY.

@unp1 unp1 self-assigned this Oct 2, 2026
@unp1 unp1 added the 🐞 Bug label Oct 2, 2026
@unp1 unp1 added this to the v3.1.0 milestone Oct 2, 2026
@unp1
unp1 force-pushed the fixCompletenessCheck branch from 4ab5b99 to 4758927 Compare October 2, 2026 11:42
Skolem constants are now first created upon execution of the taclet (not at match time)
Hence, a taclet app queried for "complete" returns false for skolem constants, instead
completeExceptSkolemConstants must be used.
@unp1
unp1 force-pushed the fixCompletenessCheck branch from 4758927 to a291b86 Compare October 2, 2026 11:44

@Drodt Drodt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@unp1
unp1 enabled auto-merge October 2, 2026 12:04
@unp1
unp1 added this pull request to the merge queue Oct 2, 2026
Merged via the queue into main with commit 45bafe5 Oct 2, 2026
39 checks passed
@unp1
unp1 deleted the fixCompletenessCheck branch October 2, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants