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

Allow use_hints even when context_pruning is set #3703

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

nikswamy
Copy link
Collaborator

Probably shouldn't have disabled use_hints when context_pruning is set, in the first place.

Now the behavior is that if you have both --use_hints --ext context_pruning, we will try to first prove the query in a fresh Z3 context with the recorded unsat core in the hints file.

If that fails, we fall back to trying the query in the background incremental solver, but this time we will prune the context before trying the query.

check-world works: https://github.com/FStarLang/FStar/actions/runs/13054935803

@mtzguido mtzguido force-pushed the _nik_hints_with_context_pruning branch from 421b821 to 13a2b89 Compare January 30, 2025 18:17
@mtzguido mtzguido merged commit 2beaa65 into master Jan 30, 2025
10 checks passed
@mtzguido mtzguido deleted the _nik_hints_with_context_pruning branch January 30, 2025 19:00
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.

2 participants