Adding missing features to the Bitwuzla bindings#369
Merged
baierd merged 111 commits intoApr 11, 2024
Conversation
…swig_cpp # Conflicts: # lib/native/source/libbitwuzla/compile.sh # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaFormulaCreator.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaOption.java
…lFunctionImpl as it seems unneeded.
…rom FloatingPointFormulaManagerTest.
…swig_cpp # Conflicts: # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaFloatingPointManager.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaOption.java
…ws us to handle arbitrary size fp values. Improved native method mk_fp_value to handle scientific notation in input strings.
…d the affected tests and added a FIXME note to BitwuzlaFloatingPointManager.
…ovides a temporary fix to the phantom reference issue.
… to bitvector, which is not supported by the solver.
# Conflicts: # lib/ivy.xml # solvers_ivy_conf/ivy_bitwuzla.xml # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaArrayFormulaManager.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaBitvectorFormulaManager.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaBooleanFormulaManager.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaDeclaration.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaFloatingPointManager.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaFormula.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaFormulaCreator.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaFormulaManager.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaModel.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaNativeApiTest.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaQuantifiedFormulaManager.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaSolverContext.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaTheoremProver.java # src/org/sosy_lab/java_smt/solvers/bitwuzla/BitwuzlaUFManager.java # src/org/sosy_lab/java_smt/test/SolverConcurrencyTest.java # src/org/sosy_lab/java_smt/test/SolverFormulaIOTest.java # src/org/sosy_lab/java_smt/test/SolverThreadLocalityTest.java
…ayFormulaManager.
…la does not support integer variables and will fail during parsing, even if integers are just mentioned in the signature of a function.
…twuzla will print variable declarations as define-const and not define-fun, so we have to check for both versions.
… with a solver that does not support int
…anguage level and avoid a warning.
…ipt. If this option is not specified, or set to false the SWIG wrapper will not be recreated.
…less trivial formula to parse. MathSAT would reduce the old formula to just "true", causing the failure.
…0 (because the release is missing features for parse)
…ncy on libbitwuzla.so.0
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.
Hello everyone,
this pull request updates the Bitwuzla bindings with several features that have been added in the past few months:
Open issues:
(This pull request is about moving the code from my fork to a new branch in the JavaSMT repository. It can then be merged with master from there.)