Asserts constraints implied by a CooperSplit.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Tightens c using the divisibility constraints of the variables occurring in c.p.
For a variable z with coefficient a in c.p and constraint d ∣ p' where p' has leading
coefficient ±1 on z, let r := c.p - t*p' with t := a / (±1), and g be the gcd of d
and the variable coefficients of r. If g > 1, the value of c.p is congruent to the constant
of r modulo g, and c.p ≤ 0 can be strengthened to the largest such value ≤ 0.
Example: 32768 ∣ x and -x + 32768*q + 1 ≤ 0 give -x + 32768*q + 32768 ≤ 0.
If decFreeOnly := true, only the divisibility constraints of the state saved at the first case
split are used. They do not depend on decisions, so neither does the result.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Best bound for a variable. val and c use all divisibility constraints for tightening,
val₀ and c₀ only those that do not depend on decisions. Conflicts are explained with
c₀ whenever possible, so that they do not depend on the current case: the untightened bound
often refutes all cases of a Cooper split at once.
Instances For
Assuming all variables smaller than x have already been assigned,
returns the best lower bound for x using the given partial assignment and
inequality constraints where x is the maximal variable.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Assuming all variables smaller than x have already been assigned,
returns the best upper bound for x using the given partial assignment and
inequality constraints where x is the maximal variable.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Returns values we cannot assign x because of disequality constraints.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Solution space for a divisibility constraint of the form d ∣ a*x + b
See DvdCnstr.getSolutions to understand how it is computed.
Instances For
- found (s : DvdSolution) : DvdSolutionResult
- unsat : DvdSolutionResult
The constraint has no solution.
- skip : DvdSolutionResult
The constraint cannot be used because the current (rational) assignment makes its tail non-integer. The model has been marked as imprecise.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- found (val : Int) : FindIntValResult
- diseq (c : DiseqCnstr) : FindIntValResult
- dvd : FindIntValResult
Instances For
Tries to find an integer v s.t. lower ≤ v ≤ upper, v ∉ dvals, and v ∈ s.
Returns .found v if result was found, .dvd if it failed because of the divisibility constraint,
and .diseq c because of the disequality constraint c.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Given c₁ of the form a₁*x + p₁ ≠ 0, and c₂ of the form b*x + p ≤ 0
splits c₁ and resolve with c₂.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Returns true if we already have a complete assignment / model.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Returns true if work/progress has been done.
There are two kinds of progress:
- An assignment for satisfying constraints was constructed.
- An inconsistency was detected.
The result is false if module already has a satisfying assignment.
Equations
- One or more equations did not get rendered due to their size.