Feat/cvc5 backend - #145
Draft
Riley-Kilgore wants to merge 4 commits into
Draft
Conversation
Riley-Kilgore
force-pushed
the
feat/cvc5-backend
branch
from
July 10, 2026 20:44
bf049bb to
ae26344
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds initial cvc5 backend support to Blaster while preserving Z3 as the default SMT solver.
The change introduces solver selection through both tactic options and environment configuration, adds solver-specific process/version handling, updates counterexample/model retrieval to use a more portable SMT-LIB command, extends CI to exercise both supported solvers, and adds cvc5-focused tests and documentation.
Z3 remains the default backend for existing
#blasterusage.Type of Change
Related Issue
Changes Made
#blaster (solver: z3)or#blaster (solver: cvc5).BLASTER_SOLVERenvironment variable.(eval ...)usage to SMT-LIB-style(get-value (...))handling.get-valueoutput.solvercheckexecutable for validating local solver availability and supported versions.BLASTER_SOLVERusage,solvercheckusage, and current backend limitations.Testing
The intended validation for this PR is:
lake build Blasterlake exe solvercheck z3lake exe solvercheck cvc5BLASTER_SOLVER=z3 lake testBLASTER_SOLVER=cvc5 BLASTER_TIMEOUT=30 lake test#blaster (solver: z3) ...#blaster (solver: cvc5) ...BLASTER_SOLVERunset, confirming Z3 remains the defaultRemaining items before marking ready:
SolverCheck.lean:#eval thisIdentifierDoesNotExistonly-smt-libpath should emit the same default solver setup commands used by the normal solver path.get-valueresponse parsing.Test Coverage
Tests/Issues/folderDocumentation
make check_allTests/Issues/folder with reference to issue numberAdditional Notes