-
Notifications
You must be signed in to change notification settings - Fork 49
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
Extend Mathsat5 Native Wrapper with API for Proofs #460
Conversation
public static native int msat_proof_id(long proof); | ||
|
||
// Cleans up the proof manager and the associated proof | ||
public static native void msat_destroy_proof_manager(long proofMgr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request for information, not for action: Are all those methods also available in OptiMathSAT-API or were they added to MathSAT after year 2022?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The API is from 2012, so it should work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm.
If I should publish a new version of native libraries to Ivy and Maven repository, you might need to wait a few days.
I found a small problem and fixed it. A new version would be nice once you have the time. @gcarpio21 is currently working on adding a common proof format and MathSAT5 is a good addition. |
The return-value for an invalid argument needs to match VOID if the function-call itself has VOID return type.
The new version comes with proof-support in the API.
The new version comes with proof-support in the API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is an internal extension of the supported MathSAT5 API.
With future changes, we might use those new functions to access proofs of the solver.
This PR extends the Mathsat5 wrapper with API for proofs and adds a small native test for them.
Unfortunately this came up after the merge of the most recent changes. Sorry about that.