z3
z3 copied to clipboard
The Z3 Theorem Prover
Hi there, We recently switched in nixpkgs to the CMake based build system, since we began having downstream dependencies of Z3 that required having CMake files installed: https://github.com/NixOS/nixpkgs/pull/415966 All the...
I executed below commands but couldn't figure out why it fails. **OS**: MacOS Sequoia 15.4.1 (24E263) **JDK** : java --version Picked up JAVA_TOOL_OPTIONS: -Duser.language=en -Duser.country=US openjdk 17.0.2 2022-01-18 OpenJDK Runtime...
Hi, I am using Z3 to check loop invariants, and noticed that Python API sometimes returns UNKNOWN for the same queries where the command line interface returns SAT. Here is...
The attached smt query [query_14.log](https://github.com/user-attachments/files/20942105/query_14.log) is proved in less than 2 seconds with version 4.13.3. When migrating to version 4.15.2, the solver runs forever. Moreover, is there any particular reason...
``` $ cat a.smt2 (set-logic ALL) (declare-fun x () (Seq String)) (define-fun-rec f ((s (Seq String))) String (ite (= (seq.len s) 0) "" (str.++ (seq.nth s 0) (f (seq.extract s...
Hi, I’ve encountered a potential correctness issue related to integer arithmetic optimization in Z3 https://github.com/Z3Prover/z3/commit/a51239c641b5fdcef66c5c477e7721946dae3188. Specifically, Z3 appears to return an incorrect result for the objective function in the following...