Skip to content

Conversation

Shoooooon
Copy link
Contributor

Adds ConstraintSolver::ExportConstraintsToTargetSolver that adds P4-Constraints constraints to a z3 solver, renaming variables according to a given SymbolicEnvironment if necessary.

P.S. To unblock internal Google code relying on these changes, I've rolled back some problematic commits in this PR. Let's commit this to a branch (i.e., not master) if we can. I don't think I can make a new branch on my end.

… a specified z3 solver. (p4lang#174)

- Add ConstraintSolver::ExportConstraintsToTargetSolver that adds P4-Constraints constraints to a z3 solver, renaming variables according to a given SymbolicEnvironment if necessary.

PUBLIC: Added ConstraintSolver::ExportConstraintsToTargetSolver to export constraints to a specified z3 solver.
PiperOrigin-RevId: 780137491

Signed-off-by: Bili Dong <[email protected]>
Co-authored-by: Shaan Nagy <[email protected]>
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