argumentcomputer / yatima

A zero-knowledge Lean4 compiler and kernel
MIT License
114 stars 8 forks source link

Modularize Lurk AST simplifiers #214

Closed arthurpaulino closed 1 year ago

arthurpaulino commented 1 year ago

We currently have one simp rule that's inside the code generator.

A more structured way to do simplification is to make it a post-processing step, with several other rules in a loop that terminates when the AST doesn't change anymore.