Skip to content

SMV: error on FAIRNESS constraints#1996

Open
kroening wants to merge 1 commit into
mainfrom
smv-fairness-error
Open

SMV: error on FAIRNESS constraints#1996
kroening wants to merge 1 commit into
mainfrom
smv-fairness-error

Conversation

@kroening

Copy link
Copy Markdown
Collaborator

EBMC does not support fairness constraints. Previously, FAIRNESS declarations were parsed and typechecked without error but silently ignored during model checking. This change rejects them at typecheck time with a clear error message.

Changes

  • src/smvlang/smv_typecheck.cpp: Replace the FAIRNESS typecheck logic with an error throw
  • regression/smv/fairness/fairness1.{smv,desc}: Regression test confirming the error

Testing

  • make -C regression/smv test — all tests pass
  • make -C regression/smv test-z3 — all tests pass

EBMC does not support fairness constraints. Previously, FAIRNESS
declarations were parsed and typechecked without error but silently
ignored during model checking. This change rejects them at typecheck
time with a clear error message.
@kroening kroening added the SMV label Jul 12, 2026
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.

1 participant