Functionsยง
- bin_op
- eval_
constant - Simplify an expression to a constant if possible
Returns:
Noneif the expression cannot be simplified to a constant (e.g. if it contains a variable)Some(Const)if the expression can be simplified to a constant - eval_
constant_ local - Simplify an expression to a constant using only constants already present at this node.
- finish_
root_ evaluator_ normalisation - Finishes evaluator normalisation on the model root after rewriting completes.
- flat_op
- generator_
values_ from_ expr - Values for a constant collection expression used during constant folding.
- normalise_
evaluator_ local - Applies the evaluator normalisation hook to a focused expression.
- normalise_
root_ constraint_ deep - Deep-normalises a single top-level constraint, or returns
Noneif it is already normal. - normalise_
root_ constraints_ deep - normalise_
root_ constraints_ local - Applies local root-list partial evaluation (strip
true, propagatefalse, flattenands). - normalise_
root_ selective_ deep_ expr - Deep-normalises selected non-flat top-level constraints in
root. - opt_
vec_ lit_ op - opt_
vec_ op - tern_op
- un_op
- unwrap_
expr - vec_
lit_ op - vec_op