Skip to content

Clean up decision_proceduret API #4530

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

Merged
merged 5 commits into from
Apr 14, 2019
Merged

Clean up decision_proceduret API #4530

merged 5 commits into from
Apr 14, 2019

Conversation

kroening
Copy link
Member

This is follow up for #4497; see roadmap there.

  • Each commit message has a non-empty body, explaining why the change was made.
  • Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

@tautschnig tautschnig assigned kroening and unassigned tautschnig Apr 13, 2019
@kroening kroening force-pushed the decision_procedure2 branch 2 times, most recently from c2b5bb2 to f8f10d7 Compare April 13, 2019 11:16
Daniel Kroening added 5 commits April 14, 2019 10:59
This change adds three features:

1) Non-boolean expressions are returned verbatim.

2) Boolean expressions that are determined to be a constant (e.g., by means
of constant folding) are returned as constants, to enable further
optimisation by users.

3) Literals returned are frozen, to simplify incremental usage.
The literal-based interface is more specific, and cover_goals doesn't
require anything beyond what decision_proceduret offers.
No methods of prop_convt are used.
prop_convt is an instance of decision_proceduret that uses propositional
logic.
@kroening kroening force-pushed the decision_procedure2 branch from f8f10d7 to b885981 Compare April 14, 2019 09:59
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

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

✔️
Passed Diffblue compatibility checks (cbmc commit: b885981).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/108256619

@kroening kroening merged commit 016c8d1 into develop Apr 14, 2019
@kroening kroening deleted the decision_procedure2 branch April 14, 2019 11:08
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.

4 participants