Expand description
The analyzer. An Analyzer proves, bounds and simplifies integer expressions under the facts
of a ConstraintContext; its bounds are ConstIntBounds and ModularSets.
Structs§
- Allow
Uint AsIndex Scope - A scope in which unsigned scalars are index types, returned by
allow_uint_as_index. - Analyzer
- An analyzer of integer expressions: it proves, bounds and simplifies them under the facts it
knows, which
sync_constraint_contextsets from aConstraintContext. - Analyzer
Obj - The object behind
Analyzer. - Const
IntBound - The inclusive constant bounds
[min_value, max_value]of an integer expression, wherei64::MAXand-i64::MAXstand for unbounded ends. - Const
IntBound Obj - The object behind
ConstIntBound. - Modular
Set - The congruence class
{coeff * x + base}over the integersxthat an integer expression lies in: acoeffof 0 is the single valuebase, and acoeffof 1 any integer. - Modular
SetObj - The object behind
ModularSet. - Rewrite
Simplifier Stats - The counters of an analyzer’s rewrite simplifier: the nodes it visited, the constraints it entered, the rewrites it attempted and performed, its deepest recursion and its recursive rewrites.
- Rewrite
Simplifier Stats Obj - The object behind
RewriteSimplifierStats.
Enums§
- Compare
Result - The result of
Analyzer::try_compare. - Proof
Strength - How hard
Analyzer::can_provetries.
Functions§
- allow_
uint_ as_ index - Treat
uint32anduint64scalars as non-wrapping index types until the returned scope is dropped (sym.AnalyzerEnterAllowUintAsIndex).