Repository navigation
Anonymous/scoped consts?
#11608
Roman Lebedev (LebedevRI)
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently, all
consts are "declared model-wide", and can be referenced anywhere as long as their name is known,and therefore they are all considered externally observable.
And then there's quantifiers, and their quantified variables are scoped to the body of the quantifier.
And after tactics, this scoping is preserved via SMT-LIB Let expressions.
Question: has there been any thought about extending z3 with "scoped"
consts?At least, i don't believe it is currently possible to do that in z3
(at least, when generating model via API and not parsing textual SMT-LIB model.)
So it seems like this functionality already works internally, only the public API interface is missing.
Thank you!
All reactions