Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[IPASIR UP] Proposal to add callback cb_add_observed_var #139

@amarshah1

Description

@amarshah1

Right now, add_observed_var is implemented as part of the Solver object.

However, it would be nice to have a callback inside the ExternalPropagator. This is useful, for instance, for SMT solvers where you may want to add new variables during solving because of quantifier instantiations. CVC5 currently gets around this by passing the solver into the ExternalPropagator.

However, this is not a great solution and it is not possible if your SMT solver is written in Rust (without going into unsafe Rust). We are running into this issue

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions