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

CSE with merging node #889

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

CSE with merging node #889

wants to merge 5 commits into from

Conversation

Stevengre
Copy link
Contributor

@Stevengre Stevengre commented Nov 20, 2024

merging node during CSE. Goal:

  • The summary only includes two branches: success & revert; & generate only two rules for one function;
  • The verification results with / without CSE is the same;
  • the KCFG with CSE using less rewriting steps than the KCFG without CSE (summaries successfully applied);
  • the structure of the KCFG with CSE is as expected;

src/kontrol/prove.py Outdated Show resolved Hide resolved
@@ -70,6 +69,7 @@ def test_foundry_dependency_automated(
'run_constructor': run_constructor,
'force_sequential': force_sequential,
'enum_constraints': True,
'break_on_calls': True,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

change the options to review the effects easily.

@@ -478,7 +478,7 @@ def create_kcfg_explore() -> KCFGExplore:
progress.update(task, advance=1, status='Finished')

if options.minimize_proofs or options.config_type == ConfigType.SUMMARY_CONFIG:
proof.minimize_kcfg()
proof.minimize_kcfg(heuristics=KEVMSemantics(), merge=True)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

CSE with merging node

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.

1 participant