Library / Notational Engineering DPF
Jump to passage
In this reading

Link to current text

Published source confirmed at last check

Source changed 2026-10-03 05:29:54 UTC · snapshot created 2026-10-03 05:30:57 UTC · last check 2026-10-03 06:25:20 UTC

NOT.4:11 - SoTA-Echoing

Source and contributionAdoption and limit
Piedeleu and Zanasi, An Introduction to String Diagrams for Computer Scientists, §§2 and 6.1Adopt rewriting relative to declared structural laws and matching that respects the expression’s boundaries. Their graphical rewriting constructions concern specified categorical structures; an arbitrary diagram does not inherit those equations.
Willsey and colleagues, egg: Fast and Extensible Equality Saturation, POPL 2021, §§2.2, 4 and 5Use the distinction between committing to one rewrite and retaining equivalent forms for later selection. Conditional rules and binding analysis show why syntax matching alone can be insufficient. An e-graph relies on supplied valid equations; its compact storage does not establish those equations or guarantee affordable saturation.
Hou, Laddad and Hellerstein, Towards Relational Contextual Equality Saturation, 2025 work in progress, §§1–3Retain the distinction between context-local and general equality in :4.3. The proposed contextual reasoning still has implementation and cost questions; it supplies no completed general engine here. The guarded-division case derives a permitted local replacement from its own stated arithmetic conditions.
Pal and colleagues, Equality saturation theory exploration à la carte, 2026 extended preprint, §6.3.1 and §8Rule generation can combine guided search and LLM proposals with separate validity checks and derivability from prior rules. The study remains domain-specific; its discussion leaves conditional rule inference partly open. Do not infer a sound general rewrite system from plausible generated rules.

Choice of method. Prefer a directed, justified manipulation when one known operation needs a better expression. An automated search that retains many forms becomes useful when early commitment repeatedly prevents later improvements and the expression theory admits such search. Equality saturation addresses that alternative without making every notation problem a compiler project. Its cost and supplied validity conditions still matter; the current egglog scheduling tutorial shows why deriving a needed condition before expanding alternatives can avoid wasted work. Reopen the choice when the number of interacting rules or repeated uses makes the small direct route inadequate.

The source contributions are combined here with notation requirements and reader operations. The worked arithmetic, cue and guarded-division cases demonstrate distinct conditions of that synthesis, not universal gains from a particular notation or tool.