jacopy.normalize¶
- jacopy.normalize(engine, expr, registry=None, *, rounds=10, max_steps=1024, passes=('product_rule', 'simplify'), inner_rounds=None, record=False, stop_when=None)¶
Drive
exprto a fixpoint ofengine+passes.rounds— outer rounds;max_steps— rewrite steps per expansion pass;passes— names fromPASSESor callables(expr, registry) -> exprapplied after each expansion (flat loop) or after the inner fixpoint (nested loop);inner_rounds— when given, each outer round first iterates expansion + the FIRST pass to a fixpoint (at mostinner_roundstimes) and then applies the remaining passes (the strategies’ shape);record— keep the steps;stop_when— early stop (stopped_by="target").Never raises for a budget; see
require_normal_form().