Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

I've read some part of this book, this tutorial, and this tutorial, and would like to find out how Z3 handles quantified formula. No matter with the book or in the web, it would like to map the term (...
-1 votes
1 answer
45 views

write encodings in z3 solver python for string functions like concat, charAt, contains Like for concat I have formula= ForAll([fs1, fs2], Implies( ...
1 vote
3 answers
922 views

we know that any expression can be converted to a CNF in linear time where the CNF result is not 'logically equivalent' to the original expression but the 'satisfiability' is invariant meaning that ...
0 votes
1 answer
155 views

I want to check validity of a formula with the following quantifier alternation: ∃∀.φ Do I check validity of this formula if I solve Exists(exist_vars, ForAll(forall_vars, Phi)) in Z3Py? What is the ...
0 votes
2 answers
432 views

How do I specify a modular artithmetic condition such as f1 := (b[0]*2^0 + b[1]*2^1 + b[2]*2^2 + b[3]*2^3 + b[4]*2^4 ≡ 1 (mod 5)) ∨ (b[0]*2^0 + b[1]*2^1 + b[2]*2^2 + b[3]*2^3 + b[4]*2^4 ≡ 2 (...
vvg's user avatar
  • 1,233
0 votes
4 answers
789 views

I am searching for 3sat problems having unique solution. Till now, I only found one site https://www.cs.ubc.ca/~hoos/SATLIB/benchm.html There are good examples of 3sat instance on that site but the ...
user's user avatar
  • 33
2 votes
1 answer
257 views

I'm trying to use Z3 to determine if an expression is satisfiable.I have created all equations that I want to use it as constraints using SymPy and the variables are Symbols. the equations for example ...
2 votes
1 answer
83 views

Consider these two formulae: Exists y. Forall x. (y>x), which is unsat. Forall x. Exists y. (y>x), which is sat. Note that we cannot find "models" for the sat formula, e.g., using Z3 it ...
0 votes
1 answer
364 views

In Z3-Py, I am performing quantifier elimination (QE) over the following formulae: Exists y. Forall x. (x>=2) => ((y>1) /\ (y<=x)) Forall x. Exists y. (x>=2) => ((y>1) /\ (y<=...
1 vote
1 answer
325 views

I am starting with dReal and I have a set of questions about it. These questions are based on the tutorial we can find in https://github.com/dreal/dreal4, section "Python bindings", with the ...
1 vote
1 answer
250 views

The problem In a Minizinc model where I want to minimize a linear cost function, I can say the following: set of int: foos = 1..8; set of int: bars = 1..5; array[foos] of float: cost; array[foos, ...
0 votes
1 answer
130 views

The clauses of our problem: {x,y},{x,z},{y,z},{¬x,¬y},{¬x,¬z},{¬y,¬z} How can we conclude from these clauses to {}? I can see that this cannot be satisfied, but I am unable to find a solution in the ...
0 votes
1 answer
226 views

I am a new cs student and I have a hard time understanding satisfiability fully. I have made 2 expressions for a SAT solver. Seperately, they are satisfiable, but together they're not. I don't ...
0 votes
1 answer
89 views

I have stared at this assignment for far too long now and I simply don't understand what I am supposed to do exactly. We are given a 3x3 chess board and have to produce some propositonal clauses to ...
0 votes
2 answers
487 views

Is there any tool that can convert circuit benchmarks (ISCAS) to CNF so that it can be used in SAT solver? The main goal is to find some input patterns for the circuit which will give some predefined ...

15 30 50 per page
1
2 3 4 5
...
8

AltStyle によって変換されたページ (->オリジナル) /