seal5.transform.explicit_names

Explicit pattern-gen memory and register accesses.

These rewrites operate on behavior trees, without renaming the shared architectural symbols. Bounds in CoreDSL are inclusive: MEM[a+1:a] is a 16-bit access to a byte-addressed memory.

Functions

affine(expr)

Return symbolic coefficients and a constant for side-effect-free indices.

distance(left, right)

Return the constant difference between two affine indices, if known.

ungroup(expr)

Remove parentheses for matching, retaining them in the original tree.

Classes

ExplicitNames(xlen, *[, memory, registers])

Rewrite memory/register names independently; both options default off.