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
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
Equations
- s.leAvoiding v dvals = if Lean.Meta.Grind.Arith.Cutsat.inDiseqValues (s.le v) dvals = true then s.geAvoiding (s.le v - 1) dvals else s.le v
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₁
.
Recall that a disequality
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
Search for an assignment/model for the linear constraints.
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.