Expand description
Constraint and expression normalization for solver queries.
Modulesยง
- polynomial ๐
- Bounded sparse-polynomial identity reasoning over EVM words.
- rounding ๐
- Rounding relations between a rounded multiple and its original dividend.
Structsยง
- Constraint
Context ๐ - Simple facts learned from the normalized conjunction currently being queried.
- Word
Interval ๐
Constantsยง
Functionsยง
- bitwise_
bool_ ๐word_ fact - bool_
expr_ ๐cmp - bool_
structural_ ๐key - cmp_
op_ ๐key - const_
side_ ๐bound - constraints_
are_ ๐directly_ unsat - Returns whether canonically ordered normalized constraints contain a direct contradiction.
- expr_
binop_ ๐key - expr_
ternop_ ๐key - mark_
conjuncts ๐ - normalize_
bool_ ๐for_ solver - Normalizes one boolean expression into an equivalent, solver-friendlier form.
- normalize_
bool_ ๐node_ for_ solver - normalize_
bounded_ ๐comparisons - Simplifies predicates using only the other, still-retained conjuncts.
- normalize_
cmp_ ๐for_ solver - normalize_
constraint_ ๐batch - normalize_
constraints_ ๐for_ solver_ cached - Reuses context-free normalization results while retaining per-query contextual rewrites.
- normalize_
constraints_ ๐for_ solver_ with - normalize_
expr_ ๐for_ solver - Normalizes one word expression into an equivalent, solver-friendlier form.
- normalize_
expr_ ๐node_ for_ solver - normalize_
ite_ ๐expr_ for_ solver - sort_
dedup_ ๐bool_ exprs - sorted_
bool_ ๐exprs_ are_ subset - Returns whether every expression in
subsetappears insuperset. - write_
bool_ ๐structural_ key - write_
expr_ ๐structural_ key - write_
exprs_ ๐structural_ key